Creating a Perl project with PDL and plotting modules won't work

I am trying to create a Perl project in ActiveState for Windows. I want to have following in my build:

  • Perl 5.32
  • PDL
  • PDL-Apply
  • PDL-Audio
  • PDL-Cluster
  • PDL-DateTime
  • PDL-Drawing-Prima
  • PDL-Graphics-Gnuplot
  • PDL-Graphics-Prima
  • PDL-Graphics-Simple
  • PDLA
  • PDLA-Core
  • PDLA-GIS
  • PDLA-IO-GD
  • PDLA-IO-HDF
  • PDLA-IO-Misc
  • PDLA-Stats
  • PDLA-Transform

But the build is not being successfully built. Its throwing this error

Unable to Resolve Dependencies!
Here's what happened...
    Because Ingredient|language/perl|PDL (2.017) depends on both Feature|language/perl|OpenGL (>=0.6702) and Feature|language/perl|OpenGL (>=0.6702), Ingredient|language/perl|PDL (2.017 || 2.018) requires Feature|language/perl|OpenGL (>=0.6702).

(1) So, because Ingredient|language/perl|PDL (2.019) depends on Feature|language/perl|OpenGL (>=0.6702), Ingredient|language/perl|PDL (2.017 || 2.018 || 2.019) requires Feature|language/perl|OpenGL (>=0.6702).



    Because no versions of Feature|language/perl|PDL::Transform match >=0,<2.017 || >2.017,<2.018 || >2.018,<2.019 || >2.019,<2.020 || >2.020,<2.021 || >2.021,<2.022 || >2.022,<2.023 || >2.023,<2.024 || >2.024
 and Feature|language/perl|PDL::Transform (2.017) is provided by Ingredient|language/perl|PDL (2.017), Feature|language/perl|PDL::Transform (>=0,<2.018 || >2.018,<2.019 || >2.019,<2.020 || >2.020,<2.021 || >2.021,<2.022 || >2.022,<2.023 || >2.023,<2.024 || >2.024) requires Ingredient|language/perl|PDL (2.017).

    And because Feature|language/perl|PDL::Transform (2.018) requires both Ingredient|language/perl|PDL (2.018) and Ingredient|language/perl|PDL (2.019), Feature|language/perl|PDL::Transform (>=0,<2.020 || >2.020,<2.021 || >2.021,<2.022 || >2.022,<2.023 || >2.023,<2.024 || >2.024) requires Ingredient|language/perl|PDL (2.017 || 2.018 || 2.019).

(2) So, because Ingredient|language/perl|PDL (2.017 || 2.018 || 2.019) requires Feature|language/perl|OpenGL (>=0.6702) (1), Feature|language/perl|PDL::Transform (>=0,<2.020 || >2.020,<2.021 || >2.021,<2.022 || >2.022,<2.023 || >2.023,<2.024 || >2.024) requires Feature|language/perl|OpenGL (>=0.6702)



    Because Feature|language/perl|PDL::Transform::Color (1.005) requires both Ingredient|language/perl|PDL-Transform-Color (1.005) and Ingredient|language/perl|PDL-Transform-Color (1.004), Feature|language/perl|PDL::Transform::Color (1.004 || 1.005) requires Ingredient|language/perl|PDL-Transform-Color (1.004 || 1.005).

    And because Feature|language/perl|PDL::Transform::Color (1.003) is provided by Ingredient|language/perl|PDL-Transform-Color (1.003)
 and Ingredient|language/perl|PDL-Transform-Color (1.005) depends on Feature|language/perl|PDL::Transform (>=0), Feature|language/perl|PDL::Transform::Color (1.003 || 1.004 || 1.005) requires Feature|language/perl|PDL::Transform (>=0) or Ingredient|language/perl|PDL-Transform-Color (1.003 || 1.004).

    And because Ingredient|language/perl|PDL-Transform-Color (1.004) depends on both Feature|language/perl|PDL::Transform (>=0) and Feature|language/perl|PDL::Transform (>=0), Feature|language/perl|PDL::Transform::Color (1.003 || 1.004 || 1.005) requires Feature|language/perl|PDL::Transform (>=0).

    And because Feature|language/perl|PDL::Transform (>=0,<2.020 || >2.020,<2.021 || >2.021,<2.022 || >2.022,<2.023 || >2.023,<2.024 || >2.024) requires Feature|language/perl|OpenGL (>=0.6702) (2), Feature|language/perl|PDL::Transform::Color (1.003 || 1.004 || 1.005) requires Feature|language/perl|OpenGL (>=0.6702) or Feature|language/perl|PDL::Transform (2.020 || 2.021 || 2.022 || 2.023 || 2.024)

    And because no versions of Feature|language/perl|PDL::Transform::Color match >=0,<1.003 || >1.003,<1.004 || >1.004,<1.005 || >1.005
 and Ingredient|language/perl|PDL-Graphics-Gnuplot (2.013) depends on Feature|language/perl|PDL::Transform::Color (>=0), Ingredient|language/perl|PDL-Graphics-Gnuplot (2.013) requires Feature|language/perl|OpenGL (>=0.6702) or Feature|language/perl|PDL::Transform (2.020 || 2.021 || 2.022 || 2.023 || 2.024).

    And because Feature|language/perl|PDL-Graphics-Gnuplot (2.013) is provided by Ingredient|language/perl|PDL-Graphics-Gnuplot (2.013)
 and no versions of Feature|language/perl|PDL-Graphics-Gnuplot match !=2.013, every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Feature|language/perl|OpenGL (>=0.6702) or Feature|language/perl|PDL::Transform (2.020 || 2.021 || 2.022 || 2.023 || 2.024).

    And because Feature|language/perl|PDL::Transform (2.020) requires Ingredient|language/perl|PDL (2.020) which depends on Feature|language/perl|OpenGL (>=0.6702), every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Feature|language/perl|OpenGL (>=0.6702) or Feature|language/perl|PDL::Transform (2.021 || 2.022 || 2.023 || 2.024).

    And because Feature|language/perl|PDL::Transform (2.021) requires Ingredient|language/perl|PDL (2.021) which depends on Feature|language/perl|OpenGL (>=0.6702), every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Feature|language/perl|OpenGL (>=0.6702) or Feature|language/perl|PDL::Transform (2.022 || 2.023 || 2.024).

    And because Feature|language/perl|PDL::Transform (2.022) requires Ingredient|language/perl|PDL (2.022) which depends on Feature|language/perl|OpenGL (>=0.6702), every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Feature|language/perl|OpenGL (>=0.6702) or Feature|language/perl|PDL::Transform (2.023 || 2.024).

    And because Feature|language/perl|PDL::Transform (2.023) requires Ingredient|language/perl|PDL (2.023) which depends on Feature|language/perl|OpenGL (>=0.6702), every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Feature|language/perl|OpenGL (>=0.6702) or Feature|language/perl|PDL::Transform (2.024).

    And because Feature|language/perl|PDL::Transform (2.024) is provided by Ingredient|language/perl|PDL (2.024)
 and no versions of Feature|language/perl|OpenGL match >=0.6702,<0.70 || >0.70, every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Ingredient|language/perl|PDL (2.024) or Feature|language/perl|OpenGL (0.70).

    Because no versions of Feature|language/perl|OpenGL match >=0.6702,<0.70 || >0.70
 and Ingredient|language/perl|PDL (2.024) depends on Feature|language/perl|OpenGL (>=0.6702), Ingredient|language/perl|PDL (2.024) requires Feature|language/perl|OpenGL (0.70).

    Thus, every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Feature|language/perl|OpenGL (0.70).

    And because Feature|language/perl|OpenGL (0.70) is provided by Ingredient|language/perl|OpenGL (0.70), every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Ingredient|language/perl|OpenGL (0.70).

    And because Ingredient|language/perl|OpenGL (0.70) depends on Feature|shared|freeglut (>=0)
 and no versions of Feature|shared|freeglut match >=0,<3.2.1 || >3.2.1, every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Feature|shared|freeglut (3.2.1).

    And because Feature|shared|freeglut (3.2.1) requires Ingredient|shared|freeglut (3.2.1) which depends on Feature|builder|camel (>=0), every version of Feature|language/perl|PDL-Graphics-Gnuplot requires Feature|builder|camel (>=0).

    And because Ingredient|language|perl (5.32.0) depends on not Feature|builder|camel (*)
 and Feature|language|perl (5.32.0) is provided by Ingredient|language|perl (5.32.0), Feature|language/perl|PDL-Graphics-Gnuplot is incompatible with Feature|language|perl (5.32.0).

    So, because root depends on both Feature|language/perl|PDL-Graphics-Gnuplot (*) and Feature|language|perl (5.32.0), version solving failed.

What happens next?
Until these errors are resolved, we cannot attempt a build. If you recognize any of the packages in the error messages, try removing them or requesting a different version.

I want to be able to create a build without worrying about any dependencies. I want to straight away practice plotting with PDL. Any workaround to fix this issue?

Hi @sumankhanal!

Thank you for writing! I’ll ask our team to take a look at the problem.

Cheers!
–zak