Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 89027
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.9600
Fixed in: (no value)



Subject: 'test' then 'install' does not install dependencies
Download (untitled) / with headers
text/plain 957b
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
Could you please post a sanitized copy of your cpan configuration file?
Download (untitled) / with headers
text/plain 191b
On Tue Oct 01 15:28:27 2013, DAGOLDEN wrote: Show quoted text
> Could you please post a sanitized copy of your cpan configuration file?
Sure. Please find attached my ~/.cpan/CPAN/Myconfig.pm -- Paul Evans
Subject: MyConfig.pm
Download MyConfig.pm
text/x-perl 1.8k
$CPAN::Config = { 'auto_commit' => q[0], 'build_cache' => q[10], 'build_dir' => q[/home/leo/.cpan/build], 'build_requires_install_policy' => q[ask/yes], 'cache_metadata' => q[1], 'check_sigs' => q[0], 'commandnumber_in_prompt' => q[1], 'connect_to_internet_ok' => q[0], 'cpan_home' => q[/home/leo/.cpan], 'dontload_hash' => { }, 'ftp' => q[/usr/bin/ftp], 'ftp_passive' => q[1], 'ftp_proxy' => q[], 'getcwd' => q[cwd], 'gpg' => q[/usr/bin/gpg], 'gzip' => q[/bin/gzip], 'halt_on_failure' => q[0], 'histfile' => q[/home/leo/.cpan/histfile], 'histsize' => q[100], 'http_proxy' => q[], 'inactivity_timeout' => q[0], 'index_expire' => q[1], 'inhibit_startup_message' => q[0], 'keep_source_where' => q[/home/leo/.cpan/sources], 'load_module_verbosity' => q[v], 'lynx' => q[/usr/bin/lynx], 'make' => q[/usr/bin/make], 'make_arg' => q[], 'make_install_arg' => q[], 'make_install_make_command' => q[/usr/bin/make], 'makepl_arg' => q[], 'mbuild_arg' => q[], 'mbuild_install_arg' => q[], 'mbuild_install_build_command' => q[./Build], 'mbuildpl_arg' => q[--installdirs site], 'ncftp' => q[], 'ncftpget' => q[], 'no_proxy' => q[], 'pager' => q[/usr/bin/less], 'perl5lib_verbosity' => q[v], 'prefer_external_tar' => q[1], 'prefer_installer' => q[MB], 'prerequisites_policy' => q[ask], 'scan_cache' => q[atstart], 'shell' => q[/bin/bash], 'show_upload_date' => q[0], 'tar' => q[/bin/tar], 'tar_verbosity' => q[v], 'term_is_latin' => q[0], 'term_ornaments' => q[1], 'test_report' => q[1], 'trust_test_report_history' => q[0], 'unzip' => q[/usr/bin/unzip], 'urllist' => [q[http://cpan.cpantesters.org/], q[http://www.mirrorservice.org/sites/cpan.perl.org/CPAN/]], 'use_sqlite' => q[0], 'version_timeout' => q[15], 'wget' => q[/usr/bin/wget], 'yaml_load_code' => q[0], }; 1; __END__


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.