S
SVCitian
Hi, I have tried load some Perl Modules using CPAN.. but I can't make
it work.
fyi, curl "http://..." works on the command line perfectly. (just so
that you know the internet connection is all ok.
this is what i see on the cpan.. when i do install... what can i do to
fix this issue.
I use Windows 7, Cygwin, Cpan with all the Perl Stuff installed...
wget, lynx, curl, ftp, and all the required stuff are there.
cpan[1]> install HTML::TableExtract
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.835)
CPAN: Time::HiRes loaded ok (v1.9719)
Warning: no success downloading '/home/John/.cpan/sources/authors/
01mailrc.txt.g
z.tmp2728'. Giving up on it. at /usr/lib/perl5/5.10/CPAN/Index.pm line
225
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
LWP failed with code[502] message[Bad Gateway]
Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
curl: (22) The requested URL returned error: 502
Function system("/usr/bin/curl -L -f -s -S --netrc-optional
"http://www.perl
..org/CPAN/authors/01mailrc.txt.gz" > /home/John/.cpan/sources/authors/
01mailrc.
txt.tmp2728")
returned status 22 (wstat 5632)
Warning: expected file [/home/John/.cpan/sources/authors/
01mailrc.txt.gz.tmp2728
] doesn't exist
Trying with "/usr/bin/wget -O /home/John/.cpan/sources/authors/
01mailrc.txt.tmp2
728" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
--2010-10-21 21:47:43-- http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Resolving www.perl.org (www.perl.org)... 207.171.7.63
Connecting to www.perl.org (www.perl.org)|207.171.7.63|:80...
connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2010-10-21 21:47:44 ERROR 502: Bad Gateway.
Function system("/usr/bin/wget -O /home/John/.cpan/sources/authors/
01mailrc.
txt.tmp2728 "http://www.perl.org/CPAN/authors/01mailrc.txt.gz" ")
returned status 8 (wstat 2048)
Warning: expected file [/home/John/.cpan/sources/authors/
01mailrc.txt.gz.tmp2728
] doesn't exist
Trying with "/usr/bin/lynx -source" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
CPAN: Compress::Zlib loaded ok (v2.02)
Error while trying to rename '/home/John/.cpan/sources/authors/
01mailrc.txt.gz.t
mp2728' to '/home/John/.cpan/sources/authors/01mailrc.txt.gz': No such
file or d
irectoryWarning: no success downloading '/home/John/.cpan/sources/
authors/01mail
rc.txt.gz.tmp2728'. Giving up on it. at /usr/lib/perl5/5.10/CPAN/
Index.pm line 2
25
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
LWP failed with code[502] message[Bad Gateway]
Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
curl: (22) The requested URL returned error: 502
Function system("/usr/bin/curl -L -f -s -S --netrc-optional
"http://www.perl
..org/CPAN/authors/01mailrc.txt.gz" > /home/John/.cpan/sources/authors/
01mailrc.
txt.tmp2728")
returned status 22 (wstat 5632)
Warning: expected file [/home/John/.cpan/sources/authors/
01mailrc.txt.gz.tmp2728
] doesn't exist
Trying with "/usr/bin/wget -O /home/John/.cpan/sources/authors/
01mailrc.txt.tmp2
728" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
--2010-10-21 21:47:51-- http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Resolving www.perl.org (www.perl.org)... 207.171.7.63
Connecting to www.perl.org (www.perl.org)|207.171.7.63|:80...
connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2010-10-21 21:47:52 ERROR 502: Bad Gateway.
Function system("/usr/bin/wget -O /home/John/.cpan/sources/authors/
01mailrc.
txt.tmp2728 "http://www.perl.org/CPAN/authors/01mailrc.txt.gz" ")
returned status 8 (wstat 2048)
Warning: expected file [/home/John/.cpan/sources/authors/
01mailrc.txt.gz.tmp2728
] doesn't exist
Trying with "/usr/bin/lynx -source" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
Error while trying to rename '/home/John/.cpan/sources/authors/
01mailrc.txt.gz.t
mp2728' to '/home/John/.cpan/sources/authors/01mailrc.txt.gz': No such
file or d
irectoryLockfile removed.
it work.
fyi, curl "http://..." works on the command line perfectly. (just so
that you know the internet connection is all ok.
this is what i see on the cpan.. when i do install... what can i do to
fix this issue.
I use Windows 7, Cygwin, Cpan with all the Perl Stuff installed...
wget, lynx, curl, ftp, and all the required stuff are there.
cpan[1]> install HTML::TableExtract
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.835)
CPAN: Time::HiRes loaded ok (v1.9719)
Warning: no success downloading '/home/John/.cpan/sources/authors/
01mailrc.txt.g
z.tmp2728'. Giving up on it. at /usr/lib/perl5/5.10/CPAN/Index.pm line
225
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
LWP failed with code[502] message[Bad Gateway]
Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
curl: (22) The requested URL returned error: 502
Function system("/usr/bin/curl -L -f -s -S --netrc-optional
"http://www.perl
..org/CPAN/authors/01mailrc.txt.gz" > /home/John/.cpan/sources/authors/
01mailrc.
txt.tmp2728")
returned status 22 (wstat 5632)
Warning: expected file [/home/John/.cpan/sources/authors/
01mailrc.txt.gz.tmp2728
] doesn't exist
Trying with "/usr/bin/wget -O /home/John/.cpan/sources/authors/
01mailrc.txt.tmp2
728" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
--2010-10-21 21:47:43-- http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Resolving www.perl.org (www.perl.org)... 207.171.7.63
Connecting to www.perl.org (www.perl.org)|207.171.7.63|:80...
connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2010-10-21 21:47:44 ERROR 502: Bad Gateway.
Function system("/usr/bin/wget -O /home/John/.cpan/sources/authors/
01mailrc.
txt.tmp2728 "http://www.perl.org/CPAN/authors/01mailrc.txt.gz" ")
returned status 8 (wstat 2048)
Warning: expected file [/home/John/.cpan/sources/authors/
01mailrc.txt.gz.tmp2728
] doesn't exist
Trying with "/usr/bin/lynx -source" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
CPAN: Compress::Zlib loaded ok (v2.02)
Error while trying to rename '/home/John/.cpan/sources/authors/
01mailrc.txt.gz.t
mp2728' to '/home/John/.cpan/sources/authors/01mailrc.txt.gz': No such
file or d
irectoryWarning: no success downloading '/home/John/.cpan/sources/
authors/01mail
rc.txt.gz.tmp2728'. Giving up on it. at /usr/lib/perl5/5.10/CPAN/
Index.pm line 2
25
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
LWP failed with code[502] message[Bad Gateway]
Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
curl: (22) The requested URL returned error: 502
Function system("/usr/bin/curl -L -f -s -S --netrc-optional
"http://www.perl
..org/CPAN/authors/01mailrc.txt.gz" > /home/John/.cpan/sources/authors/
01mailrc.
txt.tmp2728")
returned status 22 (wstat 5632)
Warning: expected file [/home/John/.cpan/sources/authors/
01mailrc.txt.gz.tmp2728
] doesn't exist
Trying with "/usr/bin/wget -O /home/John/.cpan/sources/authors/
01mailrc.txt.tmp2
728" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
--2010-10-21 21:47:51-- http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Resolving www.perl.org (www.perl.org)... 207.171.7.63
Connecting to www.perl.org (www.perl.org)|207.171.7.63|:80...
connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2010-10-21 21:47:52 ERROR 502: Bad Gateway.
Function system("/usr/bin/wget -O /home/John/.cpan/sources/authors/
01mailrc.
txt.tmp2728 "http://www.perl.org/CPAN/authors/01mailrc.txt.gz" ")
returned status 8 (wstat 2048)
Warning: expected file [/home/John/.cpan/sources/authors/
01mailrc.txt.gz.tmp2728
] doesn't exist
Trying with "/usr/bin/lynx -source" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
Error while trying to rename '/home/John/.cpan/sources/authors/
01mailrc.txt.gz.t
mp2728' to '/home/John/.cpan/sources/authors/01mailrc.txt.gz': No such
file or d
irectoryLockfile removed.