[mod_python] Still having problems installing Mod_Python

Glenn A. Hochberg gah at research.att.com
Mon Apr 5 09:44:03 EST 2004


I remember this happened to me once too.  I don't remember what I did, 
but it looks like this might work:
    make OPT=-DEAPI

There's a make variable "OPT" that gets included in the CFLAGS (see 
src/Makefile).

    -Glenn

John Draper wrote:

>I followed the instructions for building Mod_python,  and added these
>to the httpd.conf file.
>
>   LoadModule python_module /usr/lib/apache/modules/mod_python.so
>
>But when I start Apache:   I get:
>
>[Sat Apr  3 15:08:16 2004] [warn] Loaded DSO 
>/usr/lib/apache/modules/mod_python.so
>     uses plain Apache 1.3 API, this module might crash under EAPI!
>     (please recompile it with -DEAPI)
>
>WOuld someone please tell me what I have to do to re-compile mod_python
>with this option?    Of course the docs do not say how to do this.
>
>John
>  
>



More information about the Mod_python mailing list