On Fri, 18 Aug 2006, Poonam Pahil wrote:
I had tried this as well but mod_perl is not able to find apxs or
apr-config.
I used apache_2.2.3-win32-x86-no_ssl.msi for installing apache binary.
Am I missing something?
Here are the logs:
C:\perl_mods\mod_perl-2.0.2>perl Makefile.PL
no conflicting prior mod_perl version found - good.
Next we need to know where the 'apxs' script is located. This script
provides a lot of information about the Apache installation, and makes
it easier to find things on your system. Normally it's located in the
same directory as the 'httpd' executable.
[ ... ]
I think this indicates that you're building with a cygwin
Perl, as with an ActiveState Perl, a different dialogue
would have been invoked. You have two options:
- build Apache with cygwin, which when successfully
installed, will have the apxs tool. If you're having
trouble doing this, check the Apache mailing list
archives. If that doesn't resolve the problems, try
asking on that list.
- install, as you've done, the Win32 Apache/2.2 .msi file,
and then also install, and use, Win32 ActivePerl from
ActiveState (build 817 is the latest):
http://www.activestate.com/Products/ActivePerl/
You can then install a mod_perl ppm package by, at
a command prompt,
ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.2.ppd
which is the appropriate ppm package for use with
Apache/2.2.
As Tom mentioned, more information about installing
mod_perl as a ppm package is available at
http://perl.apache.org/docs/2.0/os/win32/
--
best regards,
Randy Kobes