Subject: | Bad option defaulting from command line |
Tried installing Test::Warn from the command line. A empty line was
printed. The transcript below shows that I just needed to define
$CPAN::Config->{unzip} to 'unzip' from undef. The CPAN client must
report useful errors in the first case but does not. Using perl-5.11.3
commit 9c3f2640bc47839fced0ccc78bae4b814ae82e97.
$ cpan Test::Warn
$ cpan
cpan shell -- CPAN exploration and modules installation (v1.945301)
Enter 'h' for help.
cpan[1]> install Test::Warn
Going to read '/Users/jbenjore/.cpan/Metadata'
Database was generated on Sat, 16 Jan 2010 01:39:49 GMT
Running install for module 'Test::Warn'
'YAML' not installed, falling back to Data::Dumper and Storable to read
prefs '/Users/jbenjore/.cpan/prefs'
Running make for C/CH/CHORNY/Test-Warn-0.21.zip
Checksum for
/Users/jbenjore/.cpan/sources/authors/id/C/CH/CHORNY/Test-Warn-0.21.zip ok
Scanning cache /Users/jbenjore/.cpan/build for sizes
............................................................................DONE
Cannot unzip, no unzip program available
cpan[2]> No history written (no histfile specified).
Lockfile removed.