Subject: | 'test' then 'install' does not install dependencies |
Suppose you wish to test module A, which depends on module B, and neither are installed.
Show quoted text
cpan> test A
asks to follow B, which you say yes. Then B is built and tested, then A is. All good so far.
You now decide you like this result and want it installed
Show quoted text cpan> install A
will not install B as well. This causes A to fail to load, lacking B.
---
A concrete example which I just performed is that Tickit depends on Struct::Dumb, among others. test-then-install as above, results in:
$ perl5.14.2 -MTickit -e1
Can't locate Struct/Dumb.pm in @INC ...
Having got into this broken state of a module being installed lacking its dependencies, I can't find any easier way out of it, than to manually install each missing dependency that is complained about by running it, and hoping by time it's stopped complaining that you've got them all.
FTR,
$ perl5.14.2 -MCPAN=999
CPAN version 999 required--this is only version 1.960001
--
Paul Evans