Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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.

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
Domain Nodelet?
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 examining the Monastery: (6)
As of 2023-09-29 23:09 GMT
Find Nodes?
    Voting Booth?

    No recent polls found