Apache LoungeWebmasters

 Keep Server Online If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation. or A donation makes a contribution towards the costs, the time and effort that's going in this site and building. Thank You! Steffen Apache Lounge is not sponsored.Your donations will help to keep this site alive and well, and continuing building binaries.

Author Message
HSorgYves

Joined: 03 Jul 2006
Posts: 4

 Posted: Tue 04 Jul '06 12:00    Post subject: mod_perl installation on Windows 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?
Xing

Joined: 26 Oct 2005
Posts: 38

 Posted: Tue 04 Jul '06 12:36    Post subject: 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
HSorgYves

Joined: 03 Jul 2006
Posts: 4

 Posted: Tue 04 Jul '06 15:46    Post subject: 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.
HSorgYves

Joined: 03 Jul 2006
Posts: 4

 Posted: Tue 04 Jul '06 16:07    Post subject: I found the solution. The problem is the following line in the mod_perl.ppd: install_modperl which only displays a message! Changing the line to install_modperl works fine!
Steffen
Moderator

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

 Posted: Tue 04 Jul '06 17:51    Post subject: 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

 Page 1 of 1