Philip M. Gollucci wrote:
> Hi,
> 
> setting MP_MAINTAINER=1 causes modperl2 to among other things try to
> build/test everything.
> 
> Unfortunately this doesn't work because --enable-maintainer-mode
> to httpd's configure does not imply --enable-threads to apr's configure.
> 
> Therefore
> 
> you need to build apache with
> ./configure --enable-maintainer-mode --enable-threads
> 

stas probably has a better idea about this than I do, but I build with
--enable-maintainer and MP_MAINTAINER=1 every night without issue.  the
matrix of what I build is this

  perl-threaded   + prefork
  perl-threaded   + worker
  perl-unthreaded + prefork

each with a separate httpd checkout so apr doesn't inherit flags from prior
builds.  my exact httpd build-line is this:

NOTEST_CFLAGS="-Werror"  CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED"
./configure --prefix=$target --with-mpm=$mpm --enable-maintainer-mode
--enable-mods-shared=all --without-execstrip --enable-modules=all
--enable-deflate=shared  --enable-proxy=shared --disable-log-forensic

I seem to recall that apr inherited some foo from prior builds such that I
couldn't 'make realclean' and start over in the same httpd directory and go
from worker to prefork and _not_ get a threaded apr.  but that was a long
time ago, so who knows.  but regardless, make sure you try with a fresh
checkout of httpd and apr, just in case it's something similar that's
tripping you up.

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to