Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / December 2003



Tip: Looking for answers? Try searching our database.

CPAN broken in Panther

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hannes - 25 Nov 2003 16:19 GMT
Are there others having problems with CPAN in 10.3. ? None of the file
transfer methods seems to work and everything times out on more than 10
different ftp archives. I already followed the instructions from one
BSD mailing list:

<http://news.gw.com/comp.unix.bsd.openbsd.misc/37614>

but it only skips the initial retrieval errors, and just copying all
perl modules in the .cpan directory outside of CPAN just to install
them from the cpan shell doesn't seem to be the solution. I know that
lynx, wget, ftp etc are working outside of cpan....

I would be grateful for your advise or pointers to the archives (where
I must have missed it then).

thanks/h

Signature

1GHz TiBook 1GB - Superdrive
MacOsX 10.3
aim:   hannes92122
www: http://users.sdsc.edu/~hannes

Jeremy Mates - 25 Nov 2003 17:09 GMT
* Hannes <hannes.niedner@gmx.net>
> but it only skips the initial retrieval errors, and just copying all
> perl modules in the .cpan directory outside of CPAN just to install
> them from the cpan shell doesn't seem to be the solution. I know that
> lynx, wget, ftp etc are working outside of cpan....

Sounds like a firewall gnawing on the non-passive FTP connection
attempts from the FTP server back to your host. Are these other
utilities set to use passive FTP or a proxy?

http://sial.org/howto/perl/life-with-cpan/

will likely help, in specific:

http://sial.org/howto/perl/life-with-cpan/#s4

on networking issues, along with the Mac OS X tips on /usr/bin/HEAD
problems and manual installation under /man:

http://sial.org/howto/perl/life-with-cpan/#s5.4
Morbus Iff - 25 Nov 2003 17:30 GMT
>* Hannes <hannes.niedner@gmx.net>
>> but it only skips the initial retrieval errors, and just copying all
[quoted text clipped - 5 lines]
>attempts from the FTP server back to your host. Are these other
>utilities set to use passive FTP or a proxy?

I can confirm - just shut off the internal firewall (System Prefereces >
Sharing), and cpan works fine. I've not had time to look into it further.

Signature

Morbus Iff ( insert pithy quote here )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

Elizabeth Mattijsen - 25 Nov 2003 21:07 GMT
>I can confirm - just shut off the internal firewall (System Prefereces >
>Sharing), and cpan works fine. I've not had time to look into it further.

You might wanna do a

  export FTP_PASSIVE=1

before running CPAN.  Helps me most of the time...

Liz
Hannes - 25 Nov 2003 21:27 GMT
Turning off the firewall made it working again. I still don't
understand why CPAN can't do all these file transfers on the
commandline with or without the firewall enabled.

Thanks to all who responded /h

>> I can confirm - just shut off the internal firewall (System
>> Prefereces >
[quoted text clipped - 8 lines]
>
> Liz

Signature

1GHz TiBook 1GB - Superdrive
MacOsX 10.3
aim:   hannes92122
www: http://users.sdsc.edu/~hannes

Hannes - 25 Nov 2003 23:13 GMT
What I meant was:

> Turning off the firewall made it working again. I still don't
> understand why CPAN can't do all these file transfers

If ftp, lynx, wget etc. work with no problems if I run them

> on the commandline with or without the firewall enabled.
>
> Thanks to all who responded /h

Signature

1GHz TiBook 1GB - Superdrive
MacOsX 10.3
aim:   hannes92122
www: http://users.sdsc.edu/~hannes

Morbus Iff - 25 Nov 2003 23:31 GMT
>>I can confirm - just shut off the internal firewall (System Prefereces >
>>Sharing), and cpan works fine. I've not had time to look into it further.
[quoted text clipped - 4 lines]
>
>before running CPAN.  Helps me most of the time...

Works for me.

Signature

Morbus Iff ( and think about the bad things that I didn't do )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

Chris Devers - 27 Nov 2003 06:54 GMT
> I can confirm - just shut off the internal firewall (System Prefereces >
> Sharing), and cpan works fine. I've not had time to look into it further.

That sounds... ...brave.

Enabling relevant ports would probably be more prudent, and if setting
passive mode FTP did the trick, then *not* enabling extra ports would
probably be even more prudent.

In any case, I've had no CPAN problems on two different machines running
Panther. Maybe something else is funny with your network setup; could you
try using CPAN on, say, a roughly-similarly configured Linux box running
on the same network? Or a Mac runnign Jaguar? It may be that these will
have issues for the same reason -- whatever it may be -- that your Panther
machine is having issues.

Signature

Chris Devers

Morbus Iff - 27 Nov 2003 13:40 GMT
>Enabling relevant ports would probably be more prudent, and if setting
>passive mode FTP did the trick, then *not* enabling extra ports would
>probably be even more prudent.

Passive FTP is enabled in the GUI portion, but that doesn't carry over,
apparently, to anything that LWP can read. Setting the environment variable
that Elizabeth mentioned works fine.

>In any case, I've had no CPAN problems on two different machines running
>Panther. Maybe something else is funny with your network setup; could you
>try using CPAN on, say, a roughly-similarly configured Linux box running
>on the same network? Or a Mac runnign Jaguar? It may be that these will

I have a Mac running Jaguar with the same Internet connection and the
firewall enabled, and cpan works fine - it's strictly a Panther thing.
Incidentally, I do have a SuSE 8.2 box that had similar problems with the
firewall and CPAN - prior to knowing that env var, I modified the firewall
instead. Funnily, I'm a syadmin at the ISP I get my connection from ;)

Signature

Morbus Iff ( masochism-oriented recombinant bot (unlisted series) )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

Andrew M. Langmead - 27 Nov 2003 13:45 GMT
> In any case, I've had no CPAN problems on two different machines
> running
> Panther.

Is you first choice CPAN site set to use FTP or HTTP?
Huw Jenkins - 16 Dec 2003 17:10 GMT
Hi there,

I've just configured CPAN on a brand new 10.3 system. However I've balls the
config up and can't get CPAN to "make" anything. How do I reconfigure CPAN?

Regards

Huw Jenkins
Huw Jenkins - 16 Dec 2003 17:26 GMT
Please disregard this question, I worked it out ;-)

Thanks

Huw Jenkins

> From: Huw Jenkins <huw.jenkins@solutionsinc.co.uk>
> Date: Tue, 16 Dec 2003 17:10:23 +0000
[quoted text clipped - 9 lines]
>
> Huw Jenkins
Phil Dobbin - 16 Dec 2003 17:36 GMT
> I've just configured CPAN on a brand new 10.3 system. However I've balls the
> config up and can't get CPAN to "make" anything. How do I reconfigure CPAN?

`cpan o conf [opt]'

Regards,

   Phil.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.