How to install module? strawberry perl issues -



How to install module? strawberry perl issues -

i trying install perl module withint strawberry perl on windows 7. i'm running below command, , getting slew of messages don't understand. looks getting 500 errors, though page isn't reachable. however, when point the mirrors in broswer have no problem accessing ftp directories. have little perl experience on linux, , none on windows. tried manually adding mirror urllist, , don't think helped. suggestion appreciated.

c:\program files> cpan win32::ie::mechanize cpan: lwp::useragent loaded ok (v5.835) cpan: time::hires loaded ok (v1.9721) fetching lwp: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz lwp failed code[500] message[can't connect cpan.strawberryperl.com:80 (bad hostname 'cpan.strawberryperl.com')] warning: no success downloading 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. giving on it. fetching lwp: ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz lwp failed code[500] message[lwp::protocol::myftp: bad hostname 'mirror.teklinks.com'] fetching net::ftp: ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz not connect host 'mirror.teklinks.com' net::ftp fetching net::ftp ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz.gz not connect host 'mirror.teklinks.com' net::ftp warning: no success downloading 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. giving on it. warning: no success downloading 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. giving on it. lastly resort switch external ftp command 'c:\windows\system32\ftp.exe' 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. doing leads problems hard diagnose. if you're victim of such problems, please consider unsetting ftp config variable o conf ftp "" o conf commit issuing "c:\windows\system32\ftp.exe -n" trying external ftp ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz going send dialog open mirror.teklinks.com user anonymous win32-vanilla@perl.org lcd c:\strawberry\cpan\sources\authors cd / cd cpan cd authors bin passive 01mailrc.txt.gz 01mailrc.txt.gz.tmp5264 quit unknown host mirror.teklinks.com. not connected. local directory c:\strawberry\cpan\sources\authors. not connected. not connected. not connected. not connected. invalid command. not connected. bad luck... still failed! can't access url ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz. fetching lwp: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz lwp failed code[500] message[can't connect cpan.strawberryperl.com:80 (bad hostname 'cpan.strawberryperl.com')] warning: no success downloading 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. giving on it. warning: no success downloading 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. giving on it. fetching lwp: ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz lwp failed code[500] message[lwp::protocol::myftp: bad hostname 'mirror.teklinks.com'] fetching net::ftp: ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz not connect host 'mirror.teklinks.com' net::ftp fetching net::ftp ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz.gz not connect host 'mirror.teklinks.com' net::ftp warning: no success downloading 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. giving on it. warning: no success downloading 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. giving on it. lastly resort switch external ftp command 'c:\windows\system32\ftp.exe' 'c:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp5264'. doing leads problems hard diagnose. if you're victim of such problems, please consider unsetting ftp config variable o conf ftp "" o conf commit issuing "c:\windows\system32\ftp.exe -n" trying external ftp ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz going send dialog open mirror.teklinks.com user anonymous win32-vanilla@perl.org lcd c:\strawberry\cpan\sources\authors cd / cd cpan cd authors bin passive 01mailrc.txt.gz 01mailrc.txt.gz.tmp5264 quit unknown host mirror.teklinks.com. not connected. local directory c:\strawberry\cpan\sources\authors. not connected. not connected. not connected. not connected. invalid command. not connected. bad luck... still failed! can't access url ftp://mirror.teklinks.com/cpan/authors/01mailrc.txt.gz. cpan: yaml loaded ok (v0.73) please check, if urls found in configuration file (http://cpan.strawberryperl.com/, ftp://mirror.teklinks.com/cpan/) valid. urllist can edited. e.g. 'o conf urllist force ftp://myurl/' not fetch authors/01mailrc.txt.gz

this firewall/proxy issues. need set http_proxy variable in cpan. come in cpan shell typing cpan @ shell command prompt, , hitting enter. 1 time in cpan shell, come in following:

o conf http_proxy http://proxy.mycorp.com:8080/

cpan may inquire username , password can utilize proxy http traffic, @ least.

it's possible ftp access blocked firewall. cpan work around this.

you can browser if proxy configuration simple. if more complex, you'll have paste url config script in browser address open url editor when browser prompts (or utilize editor takes http urls—like jedit or notepad++. ).

once parse case location , cpan, can take server name returned, port if any, , either set environment variable or cpan configuration value.

perl module cpan strawberry-perl

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -