Hi, This interchange didn't make it onto the list.
========== Gaurav Vaidya <gau...@ggvaidya.com> Hi 7, > Trying with "/usr/local/bin/curl -L -f -s -S --netrc-optional" to get > "http://mirrors.cpan.org/showmirror.cgi?name=xmission.com/MIRRORED.BY" > You have an empty /Users/me/.cpan/sources/MIRRORED.BY, > I'm trying to fetch a better one > LWP not available Try downloading MIRRORED.BY from http://www.cpan.org/MIRRORED.BY, and save it into /Users/me/.cpan/sources. =============== Yeah, I installed my first perl module with cpan: LWP::Simple it is. Wow, it's as if I've been wandering around in the desert for a week, and then I stumbled on two aborigine shaman who waved magic sticks over my head, and all my troubles evaporated into the sky. Thanks! I still can't install FileUtils::More, which I thought would be an easy install, but that's because: cpan[3]> install FileUtils::More CPAN: Storable loaded ok (v2.20) Going to read '/Users/me/.cpan/Metadata' Database was generated on Sun, 01 Nov 2009 22:27:00 GMT LWP not available Trying with "/usr/local/bin/curl -L -f -s -S --netrc-optional" to get "http://cpan.mirror.facebook.net/authors/01mailrc.txt.gz" CPAN: Compress::Zlib loaded ok (v2.02) Going to read '/Users/me/.cpan/sources/authors/01mailrc.txt.gz' ............................................................................DONE LWP not available Trying with "/usr/local/bin/curl -L -f -s -S --netrc-optional" to get "http://cpan.mirror.facebook.net/modules/02packages.details.txt.gz" Going to read '/Users/me/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Thu, 12 Nov 2009 05:27:30 GMT HTTP::Date not available ............................................................................DONE LWP not available Trying with "/usr/local/bin/curl -L -f -s -S --netrc-optional" to get "http://cpan.mirror.facebook.net/modules/03modlist.data.gz" Going to read '/Users/me/.cpan/sources/modules/03modlist.data.gz' ............................................................................DONE Going to write /Users/me/.cpan/Metadata Warning: Cannot install FileUtils::More, don't know what it is. Try the command i /FileUtils::More/ to find objects with matching identifiers. cpan[4]> i /FileUtils::More/ No objects found of any type for argument /FileUtils::More/ cpan[5]> i /FileUtils/ Module Dancer::FileUtils (SUKRIA/Dancer-0.9905.tar.gz) Module VMS::Fileutils::Root (N/A) Module VMS::Fileutils::SafeName (N/A) 3 items found =================== In any case, for anyone else that has similar problems here are the steps I went through: I copy and pasted the MIRRORED.BY file at the link suggested: http://www.cpan.org/MIRRORED.BY I just pasted it into a text file and saved it to my Desktop with the name MIRRORED.BY. Then before deleting the MIRRORED.BY file located at /Users/me/.cpan/sources/MIRRORED.BY, I checked what was in it: $ sudo cat ~/.cpan/sources/MIRRORED.BY (~ is a shortcut for /Users/you) And sure enough it was empty, so I did this: $ sudo rm ~/.cpan/sources/MIRRORED.BY followed by: $ mv ~/Desktop/MIRRORED.BY ~/.cpan/sources/MIRRORED.BY Then I did: $ sudo perl -MCPAN -e shell Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. followed by: cpan[1]> o conf init urllist which then led me through a series of questions like this: ---- First, pick a nearby continent and country by typing in the number(s) in front of the item(s) you want to select. You can pick several of each, separated by spaces. Then, you will be presented with a list of URLs of CPAN mirrors in the countries you selected, along with previously selected URLs. Select some of those URLs, or just keep the old list. Finally, you will be prompted for any extra URLs -- file:, ftp:, or http: -- that host a CPAN mirror. (1) Africa (2) Asia (3) Australasia (4) Central America (5) Europe (6) North America (7) Oceania (8) South America (9) (edit previous picks) Select your continent (or several nearby continents) [9] ------ Note that you type in the number not the name of the continent. Then I did: cpan[2]> o conf commit commit: wrote '/usr/local/lib/perl5/5.10.1/CPAN/Config.pm' and finally: cpan[7]> install LWP::Simple <snip massive amounts of output>