Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-08-25 05:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (353 votes). Check out past polls.