Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: CPAN problems on Mac OS X

by elusion (Curate)
on Aug 12, 2004 at 14:00 UTC ( #382246=note: print w/ replies, xml ) Need Help??

in reply to CPAN problems on Mac OS X

I aways get these errors. I had them running Jaguar, and I have them running Panther. If you just let it run it should eventually succeed. Once it does, it will work for the rest of the session.

Comment on Re: CPAN problems on Mac OS X
Replies are listed 'Best First'.
Re^2: CPAN problems on Mac OS X
by Anonymous Monk on Aug 12, 2004 at 14:53 UTC
    No, no, no, no. The problem is that Mac OS X uses passive FTP by default. You have to set an environmental variable -- FTP_PASSIVE=1 to let CPAN know how to FTP properly. If you're using bash, type "export FTP_PASSIVE=1" in your shell; tcsh, type "setenv FTP_PASSIVE 1".
      Thanks everyone for the replies. I tried setting the env variable FTP_PASSIVE=1 and cpan worked straight away. Perl Monks just saved me many hours.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://382246]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2015-10-06 17:02 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (155 votes), past polls