[mod_python] parse error before '*'

Connie Baggs connie at core3d.com
Thu Jan 9 08:24:55 EST 2003


Hi
Ive just compiled and installed apache 2.0.43 (apache2) and have 
previously installed python 2.1.1 I am now trying to install the 
mod_python module. The ./configure goes fine with the command 
#./configure –with-apxs=/usr/local/apache2/bin/apxs 
-with-python=/usr/freeware/bin/python2 

However when I issue the make command it fails with the following error


/usr/local/apache2/build/libtool --silent --mode=compile gcc 
-DAP_HAVE_DESIGNATED_INITIALIZER -D_POSIX_THREAD_SAFE_FUNCTIONS -g -O2 
-I/usr/local/apache2/include 
-I/install/httpd-2.0.43/modules/mod_python-3.0.1/src/include 
-I/usr/local/apache2/include -I/usr/freeware/include/python2.1  -c -o 
mod_python.lo mod_python.c && touch mod_python.slo
In file included from 
/install/httpd-2.0.43/modules/mod_python-3.0.1/src/include/mod_python.h:
115,
 from mod_python.c:67:
/install/httpd-2.0.43/modules/mod_python-3.0.1/src/include/util.h:76: 
parse error before '*' token
/install/httpd-2.0.43/modules/mod_python-3.0.1/src/include/util.h:76: 
parse error before '*' token
/install/httpd-2.0.43/modules/mod_python-3.0.1/src/include/util.h:76: 
warning: data definition has no type or storage class
apxs:Error: Command failed with rc=65536
.
*** Error code 1 (bu21)
*** Error code 1 (bu21)



Any ideas on what is wrong?




More information about the Mod_python mailing list