Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^10: LWP - 500 Internal Error

by Anonymous Monk
on Sep 07, 2009 at 12:36 UTC ( #793940=note: print w/ replies, xml ) Need Help??


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

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?


Comment on Re^10: LWP - 500 Internal Error
Re^11: LWP - 500 Internal Error
by Anonymous Monk on Sep 08, 2009 at 06:58 UTC
    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.

        Try forcing it
        ppm install LWP --force
        I don't use ppm often so I'm not sure if that command is correct.

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

        You can install perl into "program files", but you have to police your path/config, see Changing Perl Config settings, example

        C:\>echo echo %~s1 >shortpath.bat C:\>call shortpath.bat "C:\Program Files\Perl\bin\perl.exe" C:\PROGRA~1\Perl\bin\perl.exe C:\>C:\PROGRA~1\Perl\bin\perl.exe Makefile.PL C:\>set path=C:\PROGRA~1\Perl\bin\perl.exe;%path C:\>perl Makefile.PL
        For future reference, its better if you copy/paste error messages .
      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://793940]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-09-22 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (178 votes), past polls