Dearest Monks,
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:
- o conf http_proxy http://myautoproxy.mycompany.com/
- o conf proxy_user MYDOMAIN\\Me
- o conf proxy_pass MyPassword
Which gets me this far:
(example is searching for Test::Simple module)
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.
What.IN.the.H***. is getting in my way here?
What else can I try to get around this so I can move on extending my perl environment??
Also worth noting: If I don't configure any proxy stuff, I get "bad hostname" errors after every attempt to load something
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)]