Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^9: LWP - 500 Internal Error

by Anonymous Monk
on Sep 02, 2009 at 11:50 UTC ( #792884=note: print w/ replies, xml ) Need Help??


in reply to Re^8: LWP - 500 Internal Error
in thread LWP - 500 Internal Error

Which perl version?

"501 Protocol scheme '' is not supported": RE: 501 Protocol scheme '' is not supported - Jan Dubois - org.perl.perl5-porters:

My wild guess for your problem would be that you are using a proxy and have set the http_proxy variable like this:

export http_proxy=my.proxy.server:80
instead of
export http_proxy=http://my.proxy.server:80
http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.831.tar.gz


Comment on Re^9: LWP - 500 Internal Error
Select or Download Code
Re^10: LWP - 500 Internal Error
by Anonymous Monk on Sep 07, 2009 at 12:36 UTC
    Thansk again

    My perl version is ActivePerl 5.10.0

    As for the variables, I do have them defined with the http prefix.

    I'm trying to upgrade the library using the link from CPAN. But there seem to be some problems with nmake. Is there any other way to incorporate the new libraries?

      I'm trying to upgrade the library using the link from CPAN. But there seem to be some problems with nmake.

      What problems? perl -V:make

      Is there any other way to incorporate the new libraries?

      Yes, but why ignore problem which are only going to persist? A Guide to Installing Modules

      ppm upgrade LWP

        I tried ppm upgrade LWP But that returns "no upgrades available for LWP"

        Having the upgrade through this utility qwould eb the best option

        perl -V:make returns "nmake"

        nmake gave errors where it said it couldn't find Program Files - I replaced all "Program Files" mention in the makefile with Progra~1

        Next step nmake failed as follows

        E:\ovXtras\libwww-perl-5.831\libwww-perl-5.831>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. 'E:\ovXtras\libwww-perl-5.831\libwww-perl-5.831\0' is not recognized a +s an inter nal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1' Stop.

        This path occurs in the makefile only once, as follows:

        FULLPERL = 0 ABSPERL = E:\ovXtras\libwww-perl-5.831\libwww-perl-5.831\0

        And this "0" file doesn't even exist.

        Now I don't know how to troubleshoot this.

        I faced the same issue on Windows , cpan was throwing the same error messages . I would recommend following things when configuring http_proxy setting . 1. Never modify the CPAN/config.pm module instead modify the local copy present in C:/Users/user_name/APPData/local. 2. Configure Environment variable http_proxy properly. Key : http_proxy value : http://proxy_address:port 3. Even after setting the proxy env if it doesnt work try deleting the local copy of config.pm , it might have been miss configured.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://792884]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2014-12-22 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (117 votes), past polls