Yes, this patch works OK for me using the command-line:In a thread on the mod_perl list about building Apache::Dispatch on Win32 using mod_perl 1, Steve raised the point about the entry in Apache::MyConfig pointing to mod_perl.lib referred to the source location. For building 3rd party modules, it would be more convenient if mod_perl.lib was, first of all, installed into the Apache/ tree, and secondly, if Apache::MyConfig pointed rather to this location. The patch below to the current cvs Makefile.PL carries this out. In order to do this, I dropped support for being able to build mod_perl on Win32 using an Apache source tree, and instead now demand that APACHE_SRC point to an installed Apache/ directory (which it could before) - otherwise, the logic of trying to figure out where to put what becomes pretty involved. I've also dropped support for Apache versions that use ApacheModulePerl.dll as the name of the mod_perl library, rather than mod_perl.so - these are quite old Apache versions, and shouldn't be used especially on Win32 due to security holes. If this patch is OK, I'll make sure to specify these in the Changes and INSTALL.win32 files.
Steve, if you get a chance, could you try this patch out to see if it works for you? Thanks.
perl Makefile.PL APACHE_SRC=C:/apache INSTALL_DLL=C:/apache/modules EAPI
However, in the light of subsequent discussions I guess you'll be putting together a new patch?
- Steve
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
