Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: strawberry perl on localhost windows

by NetWallah (Canon)
on Jun 18, 2019 at 03:47 UTC ( [id://11101504]=note: print w/replies, xml ) Need Help??


in reply to strawberry perl on localhost windows

Decoding the HTML mashup in your message, I see the error message is:
Mon Jun 17 18:04:55.584500 2019 cgi:error pid 12736:tid 1148 (OS 2)Th +e system cannot find the file specified. :client ::1:49450 couldn't + create child process: 720002: test.pl Mon Jun 17 18:04:55.584500 2019 cgi:error pid 12736:tid 1148 (OS 2)Th +e system cannot find the file specified. : client ::1:49450 AH01223: + couldn't spawn child process: C:/mychoo/cgi-bin/test.pl
It is likely that mod-perl is incorrect, or not installed at all , on your Windows Apache.

Please follow these links (second one is easier on the eyes):
mod_perl 2.0 Win32 Installation Instructions
Configuring the Apache Web Server to Run Perl Programs on Windows

                Time is an illusion perpetrated by the manufacturers of space.

Replies are listed 'Best First'.
Re^2: strawberry perl on localhost windows
by traincity (Sexton) on Jun 20, 2019 at 00:45 UTC
    Thanks for the comments. I am back to square one but I think the answer is that mod_perl is not actually installed. (Thanks for the suggestion.) I have heard you don't need it with strawberry, but if that is true I don't know how to set up strawberry to do this so I continued trying to set up mod_perl.

    Everything was going OK as I ran makefile.pl and I got a message that the apxs utility was not found. I have no idea what that is. It asked me if I wanted to find them, and I said no but continue. Next I tried to run nmake. nmake is in the directory but it is an empty file (0KB) and of course I got an error. So I'm stuck here. Not able to run nmake test or nmake install. So I'm trying, but this doesn't seem to be working out too well. This is the most temperamental and difficult install I've ever had the pleasure of not figuring out! May have something to do with my stupidity, I don't know! Any suggestions? Thanks again!!!

      Strawberry Perl does not come with mod_perl, so if you want to use it you have to build and configure it. Here is an older guide for perl 5.12 which should give you a starting point.

      perhaps this can help re:nmake:

      NMAKE Reference The Microsoft Program Maintenance Utility (NMAKE.EXE) is a command-line tool included with Visual Studio that builds projects based on commands that are contained in a description file. To use NMAKE, you must run it in a Developer Command Prompt window. A Developer Command Prompt window has the environment variables set for the tools, libraries, and include file paths required to build at the command line. For details on how to open a Developer Command Prompt window, see Use the MSVC toolset from the command line.

      also read: https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=vs-2019

        If you are running Strawberry Perl there's no sense in using nmake, stick to the toolchain provided.

      Strawberry Perl does not come with mod_perl, so if you want to use it you have to build and configure it. Here is an older guide for perl 5.12 which should give you a starting point.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-04-25 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found