When you use the ADD_MODULE option to pass an additional
module to Apache, in the top Makefile.PL of mod_perl,
like

 perl Makefile.PL ADD_MODULE=src/modules/jserv/libjserv.a

this will result in the wrong argument to the configure script
of Apache, like

  ... configure  --enable-module=src

The correct argument should have been

  ... configure  --activate-module=src/modules/jserv/libjserv.a

To fix this problem, apply the included patch to Makefile.PL
I only changed the order in which the pattern matching is
performed, because the pattern
  /([a-zA-Z0-9][a-zA-Z0-9_]*)/

will always match this string first, which is not what I want

   src/modules/jserv/libjserv.a

I applied the fast fix, by changing the order of the pattern
matchine, but I think by using this pattern as the first
  /([a-zA-Z0-9][a-zA-Z0-9_]*$)/

the problem is solved as well.

I used version 1.3.12 of Apache
and version 1.24 of mod_perl


Nelson Patricio Oliveira
Software Engineer, Software Consulting & Engineering
ExtendMedia Inc.
190, Liberty Street, Toronto, Ontario
mailto:[EMAIL PROTECTED]
Tel. 1-416-535-4222 (2316)
Our story, http://extend.com/

patch

Reply via email to