[ http://issues.apache.org/jira/browse/MODPYTHON-20?page=all ]
Nicolas Lehuen updated MODPYTHON-20: ------------------------------------ Component: core > mod_python build system ignores apache compile flags > ---------------------------------------------------- > > Key: MODPYTHON-20 > URL: http://issues.apache.org/jira/browse/MODPYTHON-20 > Project: mod_python > Type: Bug > Components: core > Versions: 3.1.3, 3.2 > Environment: Slackware Linux-10.0, Apache-2.0.53 built with Large File > Support. > Reporter: Damjan Georgievski > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira