Pb d'install de module avec cpan
Bonjour,
Je travaille sur une serveur unix debian.
J'essaye d'installer des modules avec cpan, mais quelque soit le module, j'ai toujours la même erreur :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
$perl -MCPAN -e 'install Config::Simple'
CPAN: Storable loaded ok
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
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.
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 10) line 1.
CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/modules/03modlist.data.gz') called at /usr/share/perl/5.8/CPAN.pm line 3129
CPAN::Index::reload('CPAN::Index') called at /usr/share/perl/5.8/CPAN.pm line 675
CPAN::exists('CPAN=HASH(0xafb540)', 'CPAN::Module', 'Config::Simple') called at /usr/share/perl/5.8/CPAN.pm line 1842
CPAN::Shell::expandany('CPAN::Shell', 'Config::Simple') called at /usr/share/perl/5.8/CPAN.pm line 2078
CPAN::Shell::rematein('CPAN::Shell', 'install', 'Config::Simple') called at /usr/share/perl/5.8/CPAN.pm line 2165
CPAN::Shell::install('CPAN::Shell', 'Config::Simple') called at /usr/share/perl/5.8/CPAN.pm line 79
CPAN::AUTOLOAD('Config::Simple') called at -e line 1 |
J'ai vu pas mal de posts sur le même problème, mais jamais de solution...
Je suis vraiment débutante en Perl, alors merci de votre aide...!