the ./spam.sh setup script hangs

lkbryant

Verified User
Joined
Aug 16, 2005
Messages
283
after i ran ./spam.sh , it installed to the point where it asked me for the mirror urls to fetch the Module::Build and stubbornly only chose one mirror.

it seems the mirror is dead as it doesn't go further beyond the point.

so then i tried re-running the ./spam.sh but it seems it's cached the mirror somewhere and won't give me option to choose my mirrors anymore.

anyone know how to go about?

tia
 
You will have to show us what the errors look like.
 
it's not really an error, its just the mirror seems dead.

it hangs here:

This module requires Module::Build to install itself.
Install Module::Build now from CPAN? [y]
CPAN: Storable loaded ok
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://cpan.calvin.edu/pub/CPAN/authors/01mailrc.txt.gz


any idea how to reset the mirror so i can choose a different one?
 
I googled around for the answer, and found this guide.
About 1/2 way down the page there is "Reconfiguring CPAN" which you can try.

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

Also try:
Code:
locate CPAN/Config.pm
and I believe that holds the url list which you can try to edit. I'm not exactly sure how it works, but my guess is you can try renaming it to something like Config.pm.moved ... and the next time you run cpan, it might let you start over with the configs. Just be sure to backup the Config.pm and not just delete it.

John
 
Back
Top