Re: Apache 2.4.x
Joe Gillotti <
joe@...>
2012-03-27 04:33:39 GMT
Björn,
I also get error messages when building against the latest Apache
2.4.x along with the latest APR/APR-util
This is partly due to the suPHP autoconf scripts always choosing to
try to build a module for Apache 1.x (which changes in 2.4.x no
longer make possible, hence your error message) and due to the
location of the apr.h files changing.
I've attached a patch (use `patch -Np1 -d suphp-0.7.1 <
fix.diff`) which lets you compile/install it cleanly, and I'm using
the following configure command (see how I added further paths for
the apr related headers)
CPPFLAGS=-I/opt/comp/dest/include/apr-1 ./configure
--prefix=/opt/comp/dest --exec-prefix=/opt/comp/dest
--with-apxs=/opt/comp/dest/bin/apxs
--with-apr=/opt/comp/dest/bin/apr-1-config
Best Regards,
Joe Gillotti
On 03/22/2012 03:47 PM, Björn Gernert wrote:
Hello!
I would like to know if
there is a way to compile suPHP with Apache 2.4.x?
I am ending up with the
following error-message:
mod_suphp.c:789: error:
expected “=”, “,”, “;”, “asm” or “__attribute__” before
“suphp_handlers”
mod_suphp.c:798: error:
expected “=”, “,”, “;”, “asm” or “__attribute__” before
“suphp_handlers”
All works fine if I
compile it against Apache 2.2.x.
Thanks for your help.
_______________________________________________
suPHP mailing list
suPHP-qhrM8SXbD5JCREYaNQg7v0EOCMrvLtNR@public.gmane.org
https://lists.marsching.com/mailman/listinfo/suphp
_______________________________________________
suPHP mailing list
suPHP@...
https://lists.marsching.com/mailman/listinfo/suphp