[ale] Perl module install question

Christopher Fowler cfowler at outpostsentinel.com
Thu Dec 18 09:35:46 EST 2003


On FreeBSD and Windbloze when I try to install a perl module it blows up


[cfowler at minime clog]$ sudo perl -MCPAN -e 'install Bundle::libnet'
LWP not available

  Please, install Net::FTP as soon as possible. CPAN.pm installs it for
you
  if you just type
      install Bundle::libnet


Trying with "/usr/local/bin/ncftp -c" to get
    ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz

gzip: /root/.cpan/sources/authors/01mailrc.txt: not in gzip format
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz

Trying with "/usr/local/bin/ncftp -c" to get
    ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz

gzip: /root/.cpan/sources/modules/02packages.details.txt: not in gzip
format
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Warning: Your /root/.cpan/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 /root/.cpan/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.


Trying with "/usr/local/bin/ncftp -c" to get
    ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz

gzip: /root/.cpan/sources/modules/03modlist.data: not in gzip format
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Can't locate object method "data" via package "CPAN::Modulelist"
(perhaps you forgot to load "CPAN::Modulelist"?) at (eval 15) line 1.
        CPAN::Index::rd_modlist('CPAN::Index',
'/root/.cpan/sources/modules/03modlist.data.gz') called at
/usr/local/lib/perl5/5.6.1/CPAN.pm line 3002
        CPAN::Index::reload('CPAN::Index') called at
/usr/local/lib/perl5/5.6.1/CPAN.pm line 620
        CPAN::exists('CPAN=HASH(0x846ed14)', 'CPAN::Bundle',
'Bundle::libnet') called at /usr/local/lib/perl5/5.6.1/CPAN.pm line 1819
        CPAN::Shell::expand('CPAN::Shell', 'Bundle', 'Bundle::libnet')
called at /usr/local/lib/perl5/5.6.1/CPAN.pm line 1733
        CPAN::Shell::expandany('CPAN::Shell', 'Bundle::libnet') called
at /usr/local/lib/perl5/5.6.1/CPAN.pm line 1969
        CPAN::Shell::rematein('CPAN::Shell', 'install',
'Bundle::libnet') called at /usr/local/lib/perl5/5.6.1/CPAN.pm line 2056
        CPAN::Shell::install('CPAN::Shell', 'Bundle::libnet') called at
/usr/local/lib/perl5/5.6.1/CPAN.pm line 75
        CPAN::AUTOLOAD('Bundle::libnet') called at -e line 1
[cfowler at minime clog]$ 



More information about the Ale mailing list