I start out by upgrading CPAN.pm because the one shipped with Perl v5.8.8 doesn't support Module::Build modules and there are a couple of those in my bundle.setenv PERL5LIB /home/me/build/perl-addons/inst/usr/local/lib/perl5:/h +ome/me/build/perl-addons/inst/usr/local/lib/perl5/site_perl
It launches me into a configuration dialog. I take all the defaults except for the parameters to make install:perl -MCPAN -e 'install CPAN'
The install continues and I get dumped back to the prompt. I can verify the CPAN upgrade by doing:Parameters for the 'make install' command? Typical frequently used setting: UNINST=1 to always uninstall potentially conflicting files Your choice: [] DESTDIR=/home/me/build/perl-addons/inst
I then launch the CPAN shell to configure the new Module::Build parameters:[me@unixbox1:/home/me]> perl -MCPAN -e 'print "$CPAN::VERSION\n"' 1.8802
Again, I take all defaults except for the parameters to ./Build install:perl -MCPAN -e 'shell'
and then I commit the configuration with:Parameters for the './Build install' command? Typical frequently used setting: --uninst 1 # uninstall conflicting files Your choice: [] --destdir /home/me/build/perl-addons/inst
(Side note: even without going into the shell, CPAN will prompt you for the missing configuration information the next time you use the module, but it won't commit the changes to disk!)o conf commit
although it could be just about anything where later modules have dependencies on the earlier modules.Params::Validate MQSeries
I know that Params::Validate has been installed; I watched it happen. I can go into another (UNIX) shell, set my PERL5LIB and confirm it:---- Unsatisfied dependencies detected during [H/HB/HBIERSMA/MQSeries- +1.25.tar.gz] ----- Params::Validate Shall I follow them and prepend them to the queue of modules we are processing right now? [yes]
Why can't subsequent modules find their dependencies that CPAN just installed?[me@unixbox1:/home/me]> perl -MParams::Validate -e 'print "$Params::Va +lidate::VERSION\n"' 0.87
In reply to CPAN Bundles and Module Dependencies by brainsick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |