Hi there,
I am getting this error while trying to configure
MCPAN, the error is as follow :
Trying with "/usr/sfw/bin/ncftpget" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
ftp.perl.org: unknown host.
ncftpget: cannot open ftp.perl.org: unknown host.
Trying with "/usr/sfw/bin/ncftpget" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
ftp.perl.org: unknown host.
ncftpget: cannot open ftp.perl.org: unknown host.
Trying with "/usr/sfw/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
--00:22:21-- ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
=> `-'
Connecting to ftp.perl.org:21...
ftp.perl.org: Host not found
Trying with "/usr/sfw/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
--00:22:21--
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
=> `-'
Connecting to ftp.perl.org:21...
ftp.perl.org: Host not found
Issuing "/usr/bin/ftp -n"
ftp.perl.org: unknown host or invalid literal address
Not connected.
Local directory now /.cpan/sources
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.
Please check, if the URLs I found in your
configuration file () are valid.
The urllist can be edited. E.g. with 'o conf urllist
push ftp://myurl/'
Could not fetch MIRRORED.BY
CPAN.pm needs at least one URL where it can fetch CPAN
files from.
Please enter your CPAN site: []
--- Chris Devers <[EMAIL PROTECTED]> wrote:
> On Wed, 25 Aug 2004, Joe Echavarria wrote:
>
> > I want to know if there is an utility that i
> could
> > use to install the perl modules directly from CPAN
> on
> > a sun solaris box.
> > It is something like ppm on windows activeperl.
>
> You seem to be thinking of the CPAN shell.
>
> Run this command to set it up:
>
> perl -MCPAN -e shell
>
> You will need root / sudo access to run this. The
> first time you run it,
> you will spend five minutes or so answering
> questions about your setup;
> in most cases the defaults will be fine, but if
> you're asked if you want
> to upgrade Perl itself, *don't* let it -- there's a
> bug in some old
> versions of CPAN.pm that will make a royal mess if
> you let it do this.
>
> Once the CPAN shell is set up, you can just do
> things like this:
>
> perl -MCPAN -e 'install Bundle::Whatever'
>
> or
>
> $ sudo perl -MCPAN -e shell
> cpan> install Bundle::Whatever
>
> etc.
>
> Very useful...
>
>
>
> --
> Chris Devers [EMAIL PROTECTED]
> http://devers.homeip.net:8080/blog/
>
> np: 'C'Era Una Volta Il West - Titoli'
> by Ennio Morricone
> from 'Le Colonne Sonore Originali Dei Film Di
> Sergio Leone'
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>