[mod_python] Problem adding mod_python into apache

Kevin LEE kevin_lee at iprimus.com.au
Fri Sep 7 21:18:01 EST 2001

Hi list:

        I have the following errors when I statically compile
mod_python-2.7.6 into apache_1.3.20:

gcc  -I/usr/local/mod_python-2.7.6/src/include
-I/usr/local/apache_1.3.20/src/os/unix -I/usr/local/src/Python-2.1.1
-I/usr/local/src/Python-2.1.1/Include -c mod_python.c
In file included from /usr/local/apache_1.3.20/src/include/httpd.h:72,
                 from mod_python.c:54:
/usr/local/apache_1.3.20/src/include/ap_config.h:77: ap_config_auto.h:
No such file or directory
*** Error code 1

Stop in /usr/local/mod_python-2.7.6/src.
*** Error code 1

Stop in /usr/local/mod_python-2.7.6.

        The following show step to configure mod_python:

cd /usrr/local/mod_python-2.7.6
./configure  --with-apache=.../apache_1.3.20

make static

Any idea ??? I am really stucked ....


More information about the Mod_python mailing list