Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.3, 3.2.7
-
None
-
None
-
Slackware Linux-10.0, Apache-2.0.53 built with Large File Support.
Description
My apache package was built with these parameters:
apxs -q CPPFLAGS => -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
apxs -q CFLAGS => -pipe -O2 -march=i486
The problem is that mod_python's build system doesn't honor the CPPFLAGS at all. There's no mention of CPPFLAGS in the ./configure script, nor in the generated Makefiles. I can also see the build command lines as they execute, and they don't include the -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 flags.
When mod_python is compiled like that, apache would seg-fault on the first request - even a request for a static page. I had to mannually tweak the Makefile's after ./configure was done to add those flags and compile a working mod_python.