I am unable to install any modules with cpan. I even upgraded to the latest perl and the latest cpan, but that didn't help. Here is where I am at now:
Can anyone diagnose what the problem is?----------- $ which perl /usr/local/bin/perl $ perl -v This is perl, v5.10.1 (*) built for darwin-2level Copyright 1987-2009, Larry Wall <snip> $ which cpan /usr/local/bin/cpan $ cpan -v /usr/local/bin/cpan script version 1.9, CPAN.pm version 1.9402 $ sudo find / -type f -name CPAN.pm /System/Library/Perl/5.8.6/CPAN.pm /Users/me/.cpan/Bundle/CPAN.pm /Users/me/my_tar_extractions/perl-5.10.1/lib/CPAN.pm /usr/local/lib/perl5/5.10.1/CPAN.pm $ sudo perl -MCPAN -e shell Password: Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. cpan[1]> install FileUtils::More CPAN: Storable loaded ok (v2.20) Going to read '/Users/me/.cpan/Metadata' Database was generated on Sun, 01 Nov 2009 22:27:00 GMT CPAN: Time::HiRes loaded ok (v1.9719) LWP not available Trying with "/usr/local/bin/curl -L -f -s -S --netrc-optional" to get "http://mirrors.cpan.org/showmirror.cgi?name=xmission.com/authors/ +01mailrc.txt.gz" CPAN: Compress::Zlib loaded ok (v2.02) Error while trying to rename '/Users/me/.cpan/sources/authors/01mailrc +.txt.gz.tmp604' to '/Users/me/.cpan/sources/authors/01mailrc.txt.gz': + No such file or directory LWP not available Trying with "/usr/local/bin/curl -L -f -s -S --netrc-optional" to get "http://mirrors.cpan.org/showmirror.cgi?name=xmission.com/authors/ +01mailrc.txt.gz" Error while trying to rename '/Users/me/.cpan/sources/authors/01mailrc +.txt.gz.tmp604' to '/Users/me/.cpan/sources/authors/01mailrc.txt.gz': + No such file or directoryTerminal does not support GetHistory. Lockfile removed. $ ---------
In reply to cpan: unable to install modules by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |