logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_perl installation on Windows
Author
HSorgYves



Joined: 03 Jul 2006
Posts: 4

PostPosted: Tue 04 Jul '06 12:00    Post subject: mod_perl installation on Windows Reply with quote

Dear,
When I try to install mod_perl on Windows I get the following error:
====================
Install 'mod_perl.ppd' version 2.0.3-dev in ActivePerl 5.8.8.817.
====================
(...)
Installing C:\Program Files\Perl\site\lib\MyTest\Util.pm
Installing C:\Program Files\Perl\bin\mp2bug
Installing C:\Program Files\Perl\bin\mp2bug.bat
'C:\Program' is not recognized as an internal or external command, operable program or batch file.
unlink C:\Program Files\Perl\bin\mp2bug
unlink C:\Program Files\Perl\bin\mp2bug.bat
(...)

Anyone an idea how to solve this apart from re-installing Perl into C:\Perl?
Back to top
Xing
Moderator


Joined: 26 Oct 2005
Posts: 49

PostPosted: Tue 04 Jul '06 12:36    Post subject: Reply with quote

In the world of servers it is always advised not use use spaces in folder names. The only way to get it installed is to reinstall Perl in e.g. c:\perl

X

MOD: Must server things come from Unix/Linux and that's why they don't work with spaces in the folder names
Back to top
HSorgYves



Joined: 03 Jul 2006
Posts: 4

PostPosted: Tue 04 Jul '06 15:46    Post subject: Reply with quote

I tryed with C:\Perl as installation folder (although I knew that would work). The output is:
(...)
Installing C:\Perl\bin\mp2bug.bat

The Perl part is now installed.

To complete the installation,
Read the Readme First in the zip file !

Steffen

Successfully installed mod_perl version 2.0.3-dev in ActivePerl 5.8.8.817.


So I am wondering what is done after the installation of mp2bug.bat, ie what is failing when there is a space in the folder name. That should help solve the error, because I am still convinced that it can be used with a space in the folder name.
Back to top
HSorgYves



Joined: 03 Jul 2006
Posts: 4

PostPosted: Tue 04 Jul '06 16:07    Post subject: Reply with quote

I found the solution. The problem is the following line in the mod_perl.ppd:
<INSTALL EXEC="PPM_PERL" HREF="install_modperl">install_modperl</INSTALL>
which only displays a message!

Changing the line to
<INSTALL EXEC="perl" HREF="install_modperl">install_modperl</INSTALL>
works fine!
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Tue 04 Jul '06 17:51    Post subject: Reply with quote

Notes on the mod_perl site:

.... install, if possible, these packages to locations without spaces in their names (eg, C:\Perl for Perl and C:\Apache2 for Apache 2.0).

And:

.... In installing this, you might avoid some future problems by choosing installation directories that do not have spaces in their names (eg, C:/Apache2).


EXEC="PPM_PERL" is official used.


Steffen
Back to top


Reply to topic   Topic: mod_perl installation on Windows View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules