Re: [mp2] SOLVED? segfaulting apache in ap_pcw_walk_files_config

[prev] [thread] [next] [Date index for 2005/05/26]

From: Flavio Curti
Subject: Re: [mp2] SOLVED? segfaulting apache in ap_pcw_walk_files_config
Date: 15:20 on 26 May 2005
Hi John

On 5/26/05, John D Groenveld <jdg117@xxxxx.xxx.xxx.xxx> wrote:
> In message <25fc14b005052606224039a7fc@xxxx.xxxxx.xxx>, Flavio Curti writ=
es:
> >> Apache:
> >>         CFLAGS=3D"-Wall -g -O2 -pipe -I/usr/include/xmltok
> >> -I/usr/include/openssl  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 "
> >> LDFLAGS=3D"-ldl -lexpat -lcrypt -ldb-4.2" \
> >> ./configure \
> >> --with-program-name=3Dhttpd2 --with-dbm=3Ddb42 \
> >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 apr_rules.mk and config_vars.mk in /opt/apache2/build
> and add -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 to EXTRA_CPPFLAGS
> 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 config_vars.mk 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 config_vars.mk file)...

Thank you all for you help and kind regards

Flavio Curti

--=20
http://no-way.org/~fcu/

(message missing)

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Philippe M. Chiasson 06:22 on 24 May 2005

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Philippe M. Chiasson 04:52 on 25 May 2005

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Philippe M. Chiasson 09:16 on 25 May 2005

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Philippe M. Chiasson 09:23 on 26 May 2005

Re: [mp2] SOLVED? segfaulting apache in ap_pcw_walk_files_config
Flavio Curti 15:20 on 26 May 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52