>From the following line: LWP failed with code[500] message[Can't connect to cpan.strawberryperl.com:80 <http://cpan.strawberryperl.com/> (connect: timeout)]
it looks like LWP is unable to connect to the site to download the modules. You need to make sure your connected to the internet. Also, if you are, check your firewall and ensure your not blocking access to the application. Regards, Jeff On Thu, Mar 15, 2012 at 2:05 AM, Leo Susanto <leosusa...@gmail.com> wrote: > I am not really sure what is going on here since I can get > http://cpan.strawberryperl.com/authors/01mailrc.txt.gz without any > problem from my computer. > > Can you try getting the file using your browser first? > > On Wed, Mar 14, 2012 at 10:48 PM, Bisiigwa Godfrey <wbisii...@gmail.com> > wrote: > > Hi there, > > i have perl 5.6 on my laptop > > am i want to download some modules from CPAN but all attempts i have made > > have failed giving me such errors, > > some help. > > > > C:\>perl -MCPAN -e shell > > cpan shell -- CPAN exploration and modules installation (v1.9600) > > Enter 'h' for help. > > > > cpan> install DBD::mysql > > Fetching with LWP: > > http://cpan.strawberryperl.com/authors/01mailrc.txt.gz > > LWP failed with code[500] message[Can't connect to > > cpan.strawberryperl.com:80 (c > > onnect: timeout)] > > Warning: no success downloading > > 'C:\strawberry\cpan\sources\authors\01mailrc.txt > > .gz.tmp2760'. Giving up on it. > > Warning: no success downloading > > 'C:\strawberry\cpan\sources\authors\01mailrc.txt > > .gz.tmp2760'. Giving up on it. > > As a last resort we now switch to the external ftp command > > 'C:\WINDOWS\system32\ > > ftp.EXE' <ftp://ftp.exe'/> > > to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp2760'. > > Doing so often leads to problems that are hard to diagnose. > > If you're the victim of such problems, please consider unsetting the > > ftp config variable with > > o conf ftp "" > > o conf commit > > Fetching with LWP: > > http://cpan.strawberryperl.com/authors/01mailrc.txt.gz > > LWP failed with code[500] message[Can't connect to > > cpan.strawberryperl.com:80 (c > > onnect: timeout)] > > Warning: no success downloading > > 'C:\strawberry\cpan\sources\authors\01mailrc.txt > > .gz.tmp2760'. Giving up on it. > > Warning: no success downloading > > 'C:\strawberry\cpan\sources\authors\01mailrc.txt > > .gz.tmp2760'. Giving up on it. > > As a last resort we now switch to the external ftp command > > 'C:\WINDOWS\system32\ > > ftp.EXE' <ftp://ftp.exe'/> > > to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp2760'. > > Doing so often leads to problems that are hard to diagnose. > > If you're the victim of such problems, please consider unsetting the > > ftp config variable with > > o conf ftp "" > > o conf commit > > Please check, if the URLs I found in your configuration file > > (http://cpan.strawberryperl.com/) are valid. The urllist can be edited. > > E.g. with 'o conf urllist push ftp://myurl/' > > Could not fetch authors/01mailrc.txt.gz > > Fetching with LWP: > > http://cpan.strawberryperl.com/authors/01mailrc.txt.gz > > LWP failed with code[500] message[Can't connect to > > cpan.strawberryperl.com:80 (c > > onnect: timeout)] > > Warning: no success downloading > > 'C:\strawberry\cpan\sources\authors\01mailrc.txt > > .gz.tmp2760'. Giving up on it. > > Warning: no success downloading > > 'C:\strawberry\cpan\sources\authors\01mailrc.txt > > .gz.tmp2760'. Giving up on it. > > As a last resort we now switch to the external ftp command > > 'C:\WINDOWS\system32\ > > ftp.EXE' <ftp://ftp.exe'/> > > to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp2760'. > > Doing so often leads to problems that are hard to diagnose. > > If you're the victim of such problems, please consider unsetting the > > ftp config variable with > > o conf ftp "" > > o conf commit > > Fetching with LWP: > > http://cpan.strawberryperl.com/authors/01mailrc.txt.gz > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > >