Arthur S. Alexion on 23 Mar 2004 13:18:02 -0000 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Disclaimer: I don't really know or understand perl. However, I used to successfully use cpan to get modules that other apps needed. That was on another machine. The machine I am currently using didn't seem to have cpan installed. I wanted to install spamassassin which needed Digest::SHA1. I went to the cpan.org website to get the cpan module so that I could get Digest::SHA1 (and whatever else I might need in the future). I downloaded Bundle-Everything.tar.gz but there were no install instructions. Stupidly, I executed the included update-bundle.pl (as a regular user, not root) and now cpan is on the system but refuses to work. Here is the message I get: - ------ [arthur@rodney arthur]$ perl -MCPAN -e 'install Digest::SHA1' CPAN: Storable loaded ok CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://archive.progeny.com/CPAN/authors/01mailrc.txt.gz Going to read perl -MCPAN -e 'install Bundle::Everything'/sources/authors/01mailrc.txt.gz /bin/gzip: invalid option -- C Fetching with LWP: ftp://archive.progeny.com/CPAN/modules/02packages.details.txt.gz Going to read perl -MCPAN -e 'install Bundle::Everything'/sources/modules/02packages.details.txt.gz /bin/gzip: invalid option -- C Warning: Your perl -MCPAN -e 'install Bundle::Everything'/sources/modules/02packages.details.txt.gz does not contain a Line-Count header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Warning: Your perl -MCPAN -e 'install Bundle::Everything'/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Fetching with LWP: ftp://archive.progeny.com/CPAN/modules/03modlist.data.gz Going to read perl -MCPAN -e 'install Bundle::Everything'/sources/modules/03modlist.data.gz /bin/gzip: invalid option -- C Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 26) line 1. CPAN::Index::rd_modlist('CPAN::Index', 'perl -MCPAN -e \'install Bundle::Everything\'/sources/modules/03...') called at /usr/lib/perl5/5.6.1/CPAN.pm line 3002 CPAN::Index::reload('CPAN::Index') called at /usr/lib/perl5/5.6.1/CPAN.pm line 620 CPAN::exists('CPAN=HASH(0x8447740)', 'CPAN::Module', 'Digest::SHA1') called at /usr/lib/perl5/5.6.1/CPAN.pm line 1735 CPAN::Shell::expandany('CPAN::Shell', 'Digest::SHA1') called at /usr/lib/perl5/5.6.1/CPAN.pm line 1969 CPAN::Shell::rematein('CPAN::Shell', 'install', 'Digest::SHA1') called at /usr/lib/perl5/5.6.1/CPAN.pm line 2056 CPAN::Shell::install('CPAN::Shell', 'Digest::SHA1') called at /usr/lib/perl5/5.6.1/CPAN.pm line 75 CPAN::AUTOLOAD('Digest::SHA1') called at -e line 1 - ----- I get the complaints about Bundle::Everything no matter what I try to do. I can't find anything on the cpan.org site which explains how downloads are installed (which is why I wanted to use cpan.pm to download and install stuff in the first place). Can anyone offer suggestions to fix this mess I made and get me back on track with a working cpan, please? - -- _______________________________________ Art Alexion Arthur S. Alexion LLC arthur [at] alexion [dot] com aim: aalexion sms: 2679725536 [at] messaging [dot] sprintpcs [dot] com GnuPG fingerprint pub 1024D/ACC5BA7A 2004-01-30 Arthur S. Alexion (Art Alexion) <arthur@alexion.com> Key fingerprint = 52A4 B10C AA73 096F A661 92D2 3B65 8EAC ACC5 BA7A sub 1024g/328F84E6 2004-01-30 ________________________________________ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAYDkBO2WOrKzFunoRAs7nAJ9NpfiMA8q7t6LlgJVRn98ZUr7A4ACdHzsL rYTlhPj/1zB47jkQ5Yn7JbQ= =A6XD -----END PGP SIGNATURE----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|