develooper Front page | perl.beginners | Postings from June 2003

CPAN question: configuration of get mechanism?

From:
Travis J.I. Corcoran
Date:
June 24, 2003 01:40
Subject:
CPAN question: configuration of get mechanism?
Message ID:
E19UfPO-0003o8-00@smtp02.mrf.mail.rcn.net

Hi.

I'm a new Perl programmer and CPAN user.

Here's my problem:

When I try to use CPAN to fetch something, all the normal mechanisms
time out, and then I get down to ncftpget, which works.

I'm not behind a firewall, so I would have thought that LWP would work
(as a matter of fact, I've written Perl scripts using LWP that run on
this machine and work fine).  

I'd like to know why the first fetch methods fail, but I'd settle for
being able to configure CPAN to use ncftpget immediately...

I've read CPAN.pm and don't see anything obvious.

Insights?

Thanks,

TJIC

 ------------------------------ snip! ------------------------------


	cpan> install JavaScript
	CPAN: Storable loaded ok
	Going to read /root/.cpan/Metadata
	  Database was generated on Mon, 23 Jun 2003 21:43:28 GMT
	Running install for module JavaScript
	Running make for C/CL/CLAESJAC/JavaScript-0.52.tar.gz
	CPAN: LWP::UserAgent loaded ok
	Fetching with LWP:
	  ftp://ftp.perl.org/pub/CPAN/authors/id/C/CL/CLAESJAC/JavaScript-0.52.tar.gz
	LWP failed with code[400] message[FTP return code 000]
	Fetching with Net::FTP:
	  ftp://ftp.perl.org/pub/CPAN/authors/id/C/CL/CLAESJAC/JavaScript-0.52.tar.gz
	Couldn't fetch JavaScript-0.52.tar.gz from ftp.perl.org

	Trying with "/usr/bin/ncftpget" to get
		ftp://ftp.perl.org/pub/CPAN/authors/id/C/CL/CLAESJAC/JavaScript-0.52.tar.gz
	JavaScript-0.52.tar.gz:         
JavaScript-0.52.tar.gz:            ETA:   0:00    2.83/ 14.72 kB  117.79 kB/s  
JavaScript-0.52.tar.gz:            ETA:   0:00   14.72/ 14.72 kB   54.83 kB/s  
JavaScript-0.52.tar.gz:                                 14.72 kB   54.83 kB/s  
JavaScript-0.52.tar.gz:                                 14.72 kB   54.83 kB/s  
	CPAN: Digest::MD5 loaded ok


	...

 ------------------------------ snip! ------------------------------




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About