Hi guys,
Firewall problems? Or config problems? Or both?
I've found that CPAN works when I run "sudo perl -MCPAN etc", but not
when I run as root: "macbox:/ root# perl -MCPAN". I find that very
strange, but hey, if it works as sudo, it works and that's all I need.
However, it doesn't work very well. When I run CPAN it take FOREVER
to download modules, but then installs them pretty quickly (at least
when there aren't any errors--and I often have plenty). Could my
firewall by interfering with CPAN? I don't have anything fancy: just
the OSX Tiger firewall and a Netgear router on a home-office network.
Do I need to tweak some obscure config file so that CPAN can get in
and out of the firewall.
PPM also takes forever to download, if it downloads at all.
In case it help, I've appended the sudo/root config file below.
Please let me know if anything's wrong w/ it.
Many thanks,
John Mercer
/System/Library/Perl/5.8.6/CPAN/Config.pm
build_cache 20
build_dir /var/root/.cpan/build
cache_metadata 1
cpan_home /var/root/.cpan
dontload_hash
ftp /usr/bin/ftp
ftp_proxy
getcwd cwd
gpg
gzip /usr/bin
histfile /var/root/.cpan/histfile
histsize 100
http_proxy
inactivity_timeout 0
index_expire 1
inhibit_startup_message 0
keep_source_where /var/root/.cpan/sources
lynx /sw/bin
make /usr/bin/make
make_arg
make_install_arg
makepl_arg
ncftpget /usr/bin/ncftpget
no_proxy
pager /usr/bin/less
prerequisites_policy ask
scan_cache atstart
shell /bin/sh
tar /usr/bin
term_is_latin 1
unzip /usr/bin
urllist
ftp://ftp.sunsite.utk.edu/pub/CPAN/
ftp://ftp.theshell.com/pub/CPAN/
ftp://ftp.uwsg.iu.edu/pub/perl/CPAN/
ftp://linux.cs.lewisu.edu/pub/CPAN
ftp://mirror.candidhosting.com/pub/CPAN
ftp://mirror.cc.columbia.edu/pub/software/cpan/
ftp://mirror.datapipe.net/pub/CPAN/
ftp://mirror.hiwaay.net/CPAN/
ftp://mirror.sg.depaul.edu/pub/CPAN/
ftp://mirror.sit.wisc.edu/pub/CPAN/
ftp://mirror.xmission.com/CPAN/
ftp://mirrors.ibiblio.org/pub/mirrors/CPAN
ftp://mirrors.jtlnet.com/CPAN/
ftp://mirrors.kernel.org/pub/CPAN
ftp://mirrors.phenominet.com/pub/CPAN/
ftp://mirrors.rcn.net/pub/lang/CPAN/
ftp://perl.secsup.org/pub/perl/
http://cpan.belfry.net/
http://cpan.binarycompass.org
http://cpan.mirrors.hoobly.com/
http://cpan.mirrors.nks.net/
wget /sw/bin/wget
> Hi John,
>
[quoted text clipped - 35 lines]
>>
>> --John M
Larry Prall - 09 Jun 2005 16:08 GMT
You might want to take a look at that URL list. Try going to each
site by hand and see how long it takes to connect. Move your fastest
sites to the top of the list.
- Larry
> urllist
> ftp://ftp.sunsite.utk.edu/pub/CPAN/
[quoted text clipped - 19 lines]
> http://cpan.mirrors.nks.net/
> wget /sw/bin/wget
Ken Williams - 09 Jun 2005 19:49 GMT
I feel like nobody's listening...
Look at your 'tar', 'unzip', 'lynx', and 'gzip' entries. They don't
actually include the name of the program.
Here are the equivalent ones from my config:
'gzip' => q[/usr/bin/gzip],
'lynx' => q[],
'tar' => q[/usr/bin/tar],
'unzip' => q[/usr/bin/unzip],
-Ken
> Hi guys,
>
[quoted text clipped - 120 lines]
>>>
>>> --John M