perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Curti <>
Subject Re: [mp2] SOLVED? segfaulting apache in ap_pcw_walk_files_config
Date Thu, 26 May 2005 15:20:12 GMT
Hi John

On 5/26/05, John D Groenveld <> wrote:
> In message <>, Flavio Curti writes:
> >> Apache:
> >>         CFLAGS="-Wall -g -O2 -pipe -I/usr/include/xmltok
> >> -I/usr/include/openssl  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "
> >> LDFLAGS="-ldl -lexpat -lcrypt -ldb-4.2" \
> >> ./configure \
> >> --with-program-name=httpd2 --with-dbm=db42 \
> >statement below and the segfaults are gone. Maybe you have an idea
> >what is wrong with the way I'm configuring apache...
> Under Solaris when I configured Apache2 with largefile support, I
> needed to edit and in /opt/apache2/build
> so that modperl would also be build largefile aware.

Thank you John that really was it. As soon as I add those two to
EXTRA_CPPFLAGS in the segfaulting is gone. I wonder
where the mistake lies. In apache for not filling EXTRA_CPPFLAGS? Me
not setting it at all for CPPFLAGS? mod_perl not detecting it? (btw
setting CPPFLAGS when compiling apache doesn't help, it has to be in
EXTRA_CPPFLAGS) (also setting CPPFLAGS on compiling mod_perl does not
work, it has to come from the file)...

Thank you all for you help and kind regards

Flavio Curti


View raw message