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
otherwise you get this
/home/pgollucci/dev/src/modperl rv=0 514 >make
cd "src/modules/perl" && make
cc -I/usr/home/pgollucci/dev/src/modperl/src/modules/perl
-I/usr/home/pgollucci/dev/src/modperl/xs -I/usr/local/include/apr-1
-I/usr/local/include/apr-1 -I/usr/local/include
-I/home/pgollucci/dev/httpd/2.1.5-dev/include -pipe -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include
-I/home/pgollucci/dev/perl/5.9.3/lib/perl5/5.9.3/mach/CORE -DMOD_PERL
-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Werror -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER -DMP_COMPAT_1X
-DMP_DEBUG -DMP_TRACE -I/usr/home/pgollucci/dev/src/httpd/srclib/pcre
-DAP_DEBUG -ggdb3 -O0 -DPIC -fPIC -c modperl_util.c && mv
modperl_util.o modperl_util.lo
modperl_util.c: In function `modperl_perl_call_list':
modperl_util.c:474: warning: implicit declaration of function
`apr_os_thread_current'
*** Error code 1
Heres a patch for that... I'm not sure about how you want to word this.
As if you install apr outside of apache... (good luck!) you can just
pass --enable-threads and --enable-maintainer-mode to apr's configure
and just --enable-maintainer-mode to httpd2's configure.
Index: user/install/install.pod
===================================================================
--- user/install/install.pod (revision 160267)
+++ user/install/install.pod (working copy)
@@ -464,9 +464,11 @@
-Wmissing-declarations \
-DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER
-To use this mode Apache must be build with
-C<--enable-maintainer-mode>.
+To use this mode Apache and APR must be build with
+C<--enable-maintainer-mode>. APR must also be compiled
+with C<--enable-threads>.
+
=head4 MP_TRACE
Enable tracing
--
END
------------------------------------------------------------------------------
Philip M. Gollucci
Consultant
E-Mail: pgollucci@p6m7g8.com
URL : http://p6m7g8.net/Resume/resume.shtml
Phone : 301.254.5198
$Id: .signature,v 1.7 2004/09/05 23:46:37 philip Exp $
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
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
otherwise you get this
/home/pgollucci/dev/src/modperl rv=0 514 >make
cd "src/modules/perl" && make
cc -I/usr/home/pgollucci/dev/src/modperl/src/modules/perl
-I/usr/home/pgollucci/dev/src/modperl/xs -I/usr/local/include/apr-1
-I/usr/local/include/apr-1 -I/usr/local/include
-I/home/pgollucci/dev/httpd/2.1.5-dev/include -pipe -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include
-I/home/pgollucci/dev/perl/5.9.3/lib/perl5/5.9.3/mach/CORE -DMOD_PERL
-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Werror -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER -DMP_COMPAT_1X
-DMP_DEBUG -DMP_TRACE -I/usr/home/pgollucci/dev/src/httpd/srclib/pcre
-DAP_DEBUG -ggdb3 -O0 -DPIC -fPIC -c modperl_util.c && mv
modperl_util.o modperl_util.lo
modperl_util.c: In function `modperl_perl_call_list':
modperl_util.c:474: warning: implicit declaration of function
`apr_os_thread_current'
*** Error code 1
Heres a patch for that... I'm not sure about how you want to word this.
As if you install apr outside of apache... (good luck!) you can just
pass --enable-threads and --enable-maintainer-mode to apr's configure
and just --enable-maintainer-mode to httpd2's configure.
Index: user/install/install.pod
===================================================================
--- user/install/install.pod (revision 160267)
+++ user/install/install.pod (working copy)
@@ -464,9 +464,11 @@
-Wmissing-declarations \
-DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER
-To use this mode Apache must be build with
-C<--enable-maintainer-mode>.
+To use this mode Apache and APR must be build with
+C<--enable-maintainer-mode>. APR must also be compiled
+with C<--enable-threads>.
+
=head4 MP_TRACE
Enable tracing
--
END
------------------------------------------------------------------------------
Philip M. Gollucci
Consultant
E-Mail: pgollucci@p6m7g8.com
URL : http://p6m7g8.net/Resume/resume.shtml
Phone : 301.254.5198
$Id: .signature,v 1.7 2004/09/05 23:46:37 philip Exp $
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org