modpython compilation error

  • Thread starter =?iso-8859-1?q?Lorenz_K=F6hl?=
  • Start date
?

=?iso-8859-1?q?Lorenz_K=F6hl?=

hi,

I've python 2.3 and apache 2.0.47 installed on my SuSE8.2.
when trying to compile modpython into apache, make stops with the error

----
In file included from /usr/local/include/python2.3/Python.h:8,
from /home/software/network/apache/mod_python-3.0.3/src/include/mod_python.h:92,
from requestobject.c:64:
/usr/local/include/python2.3/pyconfig.h:844:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
from /usr/local/apache2/include/apr.h:149,
from /usr/local/apache2/include/ap_config.h:58,
from /usr/local/apache2/include/httpd.h:72,
from /home/software/network/apache/mod_python-3.0.3/src/include/mod_python.h:71,
from requestobject.c:64:
/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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top