[mod_python] compile problem

Ken Kinder ken at kenkinder.com
Sun Nov 26 01:17:26 EST 2000

The odd thing is, on my Red Hat 7 Linux, this works fine, but on a Debian
2.1 box, it doesn't work. Here's what happens:

The error happened on make. Here's my configure command:

./configure --with-apache=../apache_1.3.14 --with-apxs=/usr/local/apache/bin/apxs

and make was make dso:

In file included from /usr/local/src/apache_1.3.14/src/include/ap_config.h:76,
                 from /usr/local/src/apache_1.3.14/src/include/httpd.h:71,
                 from /usr/local/src/mod_python-2.6.3/src/include/mod_python.h:85,
                 from mod_python.c:61:
/usr/local/src/apache_1.3.14/src/include/ap_config_auto.h:6: unterminated `#if' conditional
make[1]: *** [mod_python.o] Error 1
make[1]: Leaving directory `/usr/local/src/mod_python-2.6.3/src'
make: *** [do_dso] Error 2

Ken Kinder

More information about the Mod_python mailing list