[mod_python] modpython compile error

Lorenz Köhl pradix at gmx.de
Sat Aug 30 02:35:52 EST 2003


I want to install modpython 3.0.3 on my Suse 8.2 but during compilation 
an error occurs saying

----------------
/usr/include/features.h:131:1: warning: this is the location of the 
previous definition
requestobject.c: In function `getreq_recmbr_off':
requestobject.c:1055: error: `LONG_LONG' undeclared (first use in this 
function)
requestobject.c:1055: error: (Each undeclared identifier is reported 
only once
requestobject.c:1055: error: for each function it appears in.)
requestobject.c:1056: error: parse error before "l"
requestobject.c:1057: error: `l' undeclared (first use in this function)
requestobject.c: At top level:
requestobject.c:1270: warning: initialization from incompatible pointer type
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_python.so] Error 1
make[1]: Leaving directory 
`/home/software/network/apache/mod_python-3.0.3/src'
make: *** [do_dso] Error 2
-----------------

I've apache 2.0.47 and python 2.3 installed. The configure of modpython 
was fine and of course I
compiled apache with --enable-so.

in requestobject.c there's someting in the comments about apr. but apr 
from apr.apache.org is installed
build into apache.

any ideas?  (any parsing-lib missing?)



More information about the Mod_python mailing list