[Pdx-pm] unhappy CPAN on OS X

Randall Hansen perl at sonofhans.net
Wed Oct 29 19:03:54 CST 2003

Fellow Mongers ~

The last few days I've been setting up a new Powerbook.  It's all going
swimmingly except for one problem with CPAN.  It appears to not be able to
use LWP or Net::FTP to fetch tarballs, but it takes *forever* to figure
this out before it drops to using vanilla ftp.  It only does this once per
session; after it figures out that LWP and Net::FTP are hosed somehow it
doesn't try them again.

I installed LWP & Bundle::libnet earlier today and they appear to be fine.
 "Appear" is important, because I've not used them, but all the tests

I'm using the stock perl with OS X 10.3:

    bananajr |> perl -v

    This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
    (with 1 registered patch, see perl -V for more detail)

There's a session dump below; any help would be appreciated.



cpan> test Digest::SHA1
CPAN: Storable loaded ok
Going to read /Users/Shared/.cpan/Metadata
  Database was generated on Tue, 28 Oct 2003 13:46:56 GMT
Running test for module Digest::SHA1
Running make for G/GA/GAAS/Digest-SHA1-2.06.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
LWP failed with code[404] message[File 'Digest-SHA1-2.06.tar.gz' not found]
Fetching with Net::FTP:
Couldn't fetch Digest-SHA1-2.06.tar.gz from cpan.pair.com
Issuing "/usr/bin/ftp -n"
Connected to cpan.pair.com.
220 cpan.pair.com NcFTPd Server (licensed copy) ready.

everything's fine from here on out.

More information about the Pdx-pm-list mailing list