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

Re^12: LWP - 500 Internal Error

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


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

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.


Comment on Re^12: LWP - 500 Internal Error
Select or Download Code
Re^13: LWP - 500 Internal Error
by Anonymous Monk on Sep 08, 2009 at 13:39 UTC
    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 .

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-07-07 01:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls