"Ceccopieri Andrea" <andreace...@libero.it> wrote in message
news:SXU%7.14073$aD.4...@twister2.libero.it...
The best way is (as root) type this command:
perl -MCPAN -e shell
Once you reach the cpan> prompt type this:
install CGI
-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt http://www.ipgpp.com/
Comment: MY PUB KEY: http://thecouch.homeip.net:81/MinaNaguib.txt
Comment: KeyID: 0x63227FAC
Comment: Fingerprint: A3C1 D7CF 4383 D614 74DA 54C9 792F 7DA4 6322 7FAC
iQA/AwUBPEBa5nkvfaRjIn+sEQITAACg0bRQw9eFHoepQNhKxReU3eBdXbkAoJnh
XB+WojBkhIZIY9RDMexHG2/e
=2198
-----END PGP SIGNATURE-----
> "Ceccopieri Andrea" <andreace...@libero.it> wrote in message
>> I want to install the module CGI.pm. How can i do?
>
> The best way is (as root) type this command:
> perl -MCPAN -e shell
I have a problem with CPAN shell. For the starters, I deleted the
whole ~/.cpan/ to start from a clean sheet (could this be the thing,
that destroyed something that cannot be recovered?). Then I ran perl
with '-MCPAN -e shell'. Yeah, I find myself in a prompt of CPAN shell,
but when I command, e.g. 'install CGI', I get these, which *look* like
ordinary messages:
cpan> install CGI
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/01mailrc.txt.gz
It stays in there for quite a while (some minutes), and then gives
me this:
LWP failed with code[400] message[FTP return code 000]
Fetching with Net::FTP:
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.funet.fi
Trying with "/usr/bin/lynx -source" to get
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/01mailrc.txt.gz
And it can't even fetch it with lynx.
So, something's wrong. And I don't know how to swim my way out of it.
My Perl is 5.6.1, and I'm running it on a Debian (testing) platform.
Based on the small bits of information I wrote, can someone figure
something out? I'd be ever grateful - I would so much like to be able
to install modules via CPAN.
If I forgot something essential, please let me know. I can handle
very basic Perl, but newbie is what I am, so I can't know what
is related to this and that, and what could possibly make downloading
Perl modules from CPAN impossible.
--
Jussi Ekholm | A Elbereth Gilthoniel, silivren penna míriel
i Adanedhel | o menel aglar elenath! Na-chaered palan-díriel
ekh...@goa-head.org | o galadhremmin ennorath, Fanuilos le linnathon
http://ekhowl.goa-head.org | nef aear, sí nef aearon