Subject: | Undeclared runtime dependencies |
This distribution does not declare a runtime dependency on LWP::UserAgent or JSON, but these are not core modules and the dist_surveyor script does not compile without them. There are also undeclared dependencies on several modules which did not become core until perl 5.8.9 or later, these include version, Module::CoreList, and Module::Metadata. Additionally several modules that weren't core until perl 5.8 but these aren't as important outside of the niche of supporting perl 5.6.
My recommendation is simply to declare all runtime dependencies, even the core modules, and let the installer sort it out.
grinnz@home ~> perl cpanm.pl --notest Dist::Surveyor
--> Working on Dist::Surveyor
Fetching http://www.cpan.org/authors/id/S/SE/SEMUELF/Dist-Surveyor-0.013.tar.gz ... OK
==> Found dependencies: ExtUtils::MakeMaker
--> Working on ExtUtils::MakeMaker
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.18.tar.gz ... OK
Configuring ExtUtils-MakeMaker-7.18 ... OK
Building ExtUtils-MakeMaker-7.18 ... OK
Successfully installed ExtUtils-MakeMaker-7.18 (upgraded from 6.17)
Configuring Dist-Surveyor-0.013 ... OK
Building Dist-Surveyor-0.013 ... OK
Successfully installed Dist-Surveyor-0.013
2 distributions installed
grinnz@home ~> plenv rehash
grinnz@home ~> dist_surveyor
Can't locate version.pm in @INC (@INC contains: /home/grinnz/.plenv/versions/58test/lib/perl5/5.8.1/x86_64-linux /home/grinnz/.plenv/versions/58test/lib/perl5/5.8.1 /home/grinnz/.plenv/versions/58test/lib/perl5/site_perl/5.8.1/x86_64-linux /home/grinnz/.plenv/versions/58test/lib/perl5/site_perl/5.8.1 /home/grinnz/.plenv/versions/58test/lib/perl5/site_perl .) at /home/grinnz/.plenv/versions/58test/lib/perl5/site_perl/5.8.1/Dist/Surveyor.pm line 38.
BEGIN failed--compilation aborted at /home/grinnz/.plenv/versions/58test/lib/perl5/site_perl/5.8.1/Dist/Surveyor.pm line 38.
Compilation failed in require at /home/grinnz/.plenv/versions/58test/bin/dist_surveyor line 169.
BEGIN failed--compilation aborted at /home/grinnz/.plenv/versions/58test/bin/dist_surveyor line 169.