Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.


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?
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 pondering the Monastery: (12)
As of 2015-07-31 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls