[mod_python] Error building mod_python

pm5 at matilda.fiorile.org pm5 at matilda.fiorile.org
Mon Jan 12 13:47:03 EST 2004


Hi,

I ran into trouble when compiling mod_python.  This is the
configuration I use:

 * mod_python 2.7.9, from source tarball
 * Apache 1.3.29, from source tarball
 * Python 2.3.3, from source tarball
 * Debian stable (woody)

Python installation went well.  Then I tried the command suggested
in the manual:

 % ./configure \
 	--with-apache=/usr/local/src/build/apache_1.3.29 \
	--with-python=/usr/local/src/build/Python-2.3.3
 % make


And following error occurred:


make[1]: Entering directory `/usr/local/src/build/mod_python-2.7.9/src'
gcc  -I/usr/local/src/build/mod_python-2.7.9/src/include -I/usr/local/src/build/
apache_1.3.29/src/include -I/usr/local/src/build/apache_1.3.29/src/os/unix -I/us
r/local/src/build/Python-2.3.3 -I/usr/local/src/build/Python-2.3.3/Include    -c
 -o mod_python.o mod_python.c
In file included from /usr/local/src/build/apache_1.3.29/src/include/httpd.h:72,
                 from /usr/local/src/build/mod_python-2.7.9/src/include/mod_pyth
on.h:63,
                 from mod_python.c:54:
/usr/local/src/build/apache_1.3.29/src/include/ap_config.h:77: ap_config_auto.h:
 No such file or directory
In file included from /usr/local/src/build/Python-2.3.3/Include/Python.h:8,
                 from /usr/local/src/build/mod_python-2.7.9/src/include/mod_pyth
on.h:77,
                 from mod_python.c:54:
/usr/local/src/build/Python-2.3.3/pyconfig.h:847: warning: `_POSIX_C_SOURCE' red
efined
/usr/include/features.h:171: warning: this is the location of the previous defin
ition
make[1]: *** [mod_python.o] Error 1
make[1]: Leaving directory `/usr/local/src/build/mod_python-2.7.9/src'
make: *** [do_static] Error 2
make: *** No rule to make target `src/.install', needed by `install'.  Stop.





More information about the Mod_python mailing list