technojosh has asked for the wisdom of the Perl Monks concerning the following question:
I am driving myself crazy in a new contract I'm working on... I am obviously behind a firewall/proxy in this shop, however i am more than a little confused at something -->
I cannot seem to add any modules or even find them through PPM or CPAN shells. I can go right to the repositories online and download the files, even using the same URLs that fail in the shell...
I am using ActiveState Perl 5.12.4
When I use PPM, the activestate repository always reads "0" modules and I'm unable to add anything not "in the box"
When I run CPAN shell, I have tried setting the following config options:
cpan> i test::simple Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz LWP failed with code[404] message[Not Found] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz LWP failed with code[404] message[Not Found] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. No external ftp command available Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz LWP failed with code[404] message[Not Found] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz LWP failed with code[404] message[Not Found] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. No external ftp command available Please check, if the URLs I found in your configuration file (http://ppm.activestate.com/CPAN, http://cpan.perl.org) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/01mailrc.txt.gz
As an effort in troubleshooting, I have browsed to every single URL in the above CPAN output. If I copy the complete "01mailrc.txt.gz" URL to my browser's address bar and hit enter: I get the GZ file complete with all the email addresses and names of cpan authors. Both of the (http://ppm.activestate.com/CPAN, http://cpan.perl.org) URLs work from my browser as well.
Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz LWP failed with code[500] message[Can't connect to cpan.perl.org:80 (B +ad hostname)]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PPM/CPAN connection issues
by Marshall (Canon) on Aug 18, 2011 at 22:40 UTC | |
by technojosh (Priest) on Aug 19, 2011 at 14:24 UTC | |
by Anonymous Monk on Feb 05, 2013 at 17:47 UTC | |
by Anonymous Monk on Sep 09, 2014 at 08:44 UTC | |
|
Re: PPM/CPAN connection issues
by Anonymous Monk on Aug 18, 2011 at 21:11 UTC | |
by technojosh (Priest) on Aug 18, 2011 at 21:16 UTC | |
by Anonymous Monk on Aug 18, 2011 at 23:35 UTC | |
by technojosh (Priest) on Aug 19, 2011 at 15:17 UTC |