Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-20

mod_python build system ignores apache compile flags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.3, 3.2.7
    • None
    • core
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gdamjan Damjan Georgievski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: