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 / September 2005



Tip: Looking for answers? Try searching our database.

Speaking of CPAN

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joel Rees - 31 Aug 2005 15:49 GMT
anyone besides me having trouble accessing the mirrors?

I've been rebuilding my iBook when I can spare ten minutes here and a
half hour there. I installed perl 5.8.7 several weeks back under
/usr/local and started CPAN with the path set to look at /usr/local/bin
before /usr/bin, then remembered I wanted to install gnupg first, so I
aborted and installed gnupg today and tried to "o conf init". Got this
at the end, about two hours ago:

--------------------terminal output--------------------
You have no /usr/local/share/perl/.cpan/sources/MIRRORED.BY
  I'm trying to fetch one
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
Couldn't cwd pub/CPAN at /usr/local/lib/perl5/5.8.7/CPAN.pm line 2260,
<STDIN> line 28.
Fetching with Net::FTP
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
Couldn't cwd pub/CPAN at /usr/local/lib/perl5/5.8.7/CPAN.pm line 2260,
<STDIN> line 28.
Issuing "/usr/bin/ftp -n"
Trying 209.120.136.27...
Connected to ftp.cpan.ddns.develooper.com.
220-=(<*>)=-.:. (( Welcome to PureFTPd 1.0.11 )) .:.-=(<*>)=-
220-You are user number 1 of 500 allowed
220-Local time is now 08:29 and the load is 0.03. Server port: 21.
220-Only anonymous FTP is allowed here
220 You will be disconnected after 15 minutes of inactivity.
331 Any password will work
230 Any password will work
Remote system type is UNIX.
Using binary mode to transfer files.
Local directory now /usr/local/share/perl/.cpan/sources
250 OK. Current directory is /
250 OK. Current directory is /pub
550 Can't change directory to CPAN: No such file or directory
200 TYPE is now 8-bit binary
local: MIRRORED.BY remote: MIRRORED.BY
500 Unknown command
227 Entering Passive Mode (209,120,136,27,156,117)
550 Can't open MIRRORED.BY: No such file or directory
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout - CPU time spent: 0.000 seconds.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.

Please check, if the URLs I found in your configuration file () are
valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'

Could not fetch MIRRORED.BY
CPAN.pm needs at least one URL where it can fetch CPAN files from.
Bill Stephenson - 31 Aug 2005 17:54 GMT
> anyone besides me having trouble accessing the mirrors?

Yeah, I had something very similar happen to me last week. I can't
remember for sure how I got it working but I think it prompted me to
edit or add a valid cpan mirror to download modules from. I went to
http://cpan.org/SITES.html and copy and pasted a url from the list of
sites and it worked after that.

Sorry I couldn't be more help...

Kindest Regards,

--
Bill Stephenson
417-546-8390
Joel Rees - 02 Sep 2005 05:01 GMT
Oh. I should say thanks, Bill. I tried it again and it worked this time.

>> anyone besides me having trouble accessing the mirrors?
>
[quoted text clipped - 3 lines]
> to http://cpan.org/SITES.html and copy and pasted a url from the  
> list of sites and it worked after that.

Used ping and the traceroute tool in the GUI network utility to  
figure out that all the Japanese mirrors were up except the one with  
the official sounding name. Then I put all five of the mirrors that  
were up in the mirror list using o conf, and tried again. Just let it  
run, and it finally seemed to take hold on the fifth mirror. Seemed  
like it kept dropping connections and changing mirrors on every  
download, but I just left it mostly to itself, and it loaded the CPAN  
bundle in about a half hour or so. Had to hit the enter key a couple  
of times to confirm on loading dependencies, but that was about it. I  
even got LWP and Crypt::SSLeay loaded before I went to bed.

> Sorry I couldn't be more help...

It did the trick.

> Kindest Regards,
>
> --
> Bill Stephenson
> 417-546-8390

Joel Rees   <rees@ddcom.co.jp>
digitcom, inc.   =A0=AA=8F=9A=A4=87=B8=A0
Kobe, Japan   +81-78-672-8800
** <http://www.ddcom.co.jp> **
 
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.