perl cpam modules installation issue
hi
i m trying to install follwonmg modules of perl /usr/bin/perl -MCPAN -e 'install "Email::Send"' /usr/bin/perl -MCPAN -e 'install "Template"' /usr/bin/perl -MCPAN -e 'install "Email::MIME::Modifier"' /usr/bin/perl -MCPAN -e 'install "Date::Format"' but when i am trying to install any of these i am getting error message as Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED...e-2.003.tar.gz. Please check, if the URLs I found in your configuration file (ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz/) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/id/R/RJ/RJBS/Email-Simple-2.003.tar.gz Giving up on '/root/.cpan/sources/authors/id/R/RJ/RJBS/Email-Simple-2.003.tar.gz' Note: Current database in memory was generated on Fri, 16 May 2008 02:29:47 GMT but i am able to connect to internet using this machine. where could be the issue? thanks |
might be a mirror site issue. change mirros/options for cpan and try again
|
Quote:
|
Quote:
# cpan Terminal does not support AddHistory. cpan> o conf urlist push http://www.cpan.org cpan> o conf urlist push http://www.cpan.org cpan> o conf urlist push ftp://ftp.perl.org cpan> exit Terminal does not support GetHistory. Lockfile removed. thanks |
Quote:
1) delete ur cpan config/history. for example, if you are working as root, then delete /root/.cpan directory. 2) delete global cpan config file, if you are using perl 5.8.8 then you can remove /usr/lib/perl5/5.8.8/CPAN/Config.pm file (RHEL, CentOS, Fedora ) try to use cpan now Code:
# perl -MCPAN -e shell |
All times are GMT -5. The time now is 08:15 PM. |