In message <[EMAIL PROTECTED]>, 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 \
>
>I played around some more and have it running now, although not very
>satisfying for me. I compiled apache using the very simple configure
>statement below and the segfaults are gone. Maybe you have an idea
>what is wrong with the way I'm configuring apache...
>
>./configure --prefix=/usr/local/apache2/ --enable-shared=max

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=64 to EXTRA_CPPFLAGS
so that modperl would also be build largefile aware.

John
[EMAIL PROTECTED]

Reply via email to