Tim Hawes
Tim.Hawes at ncmail.net
Fri Apr 11 09:12:19 EST 2003
I am trying to compile mod_python 3.0.3 (DSO) on Solaris 8 (sparc). Apache is version 2.0.45 (and I have already tried this with 2.0.44 with the same results). GCC is 3.2.2 (32 bit) using Solaris ld (not GNU ld) Python is version 2.1.3 I get the following: hrdhhs34:[mod_python-3.0.3] $ gmake gmake[1]: Entering directory `/export/home/thawes/src/build/mod_python-3.0.3/src' Compiling for DSO. /usr/local/apache/2.0.45/bin/apxs -I/export/home/thawes/src/build/mod_python-3.0.3/src/include -I/usr/local/apache/2.0.45/include -I/usr/local/bin/../stow/python-2.1.3/include/python2.1 -c mod_python.c _apachemodule.c requestobject.c tableobject.c util.c serverobject.c connobject.c filterobject.c hlist.c hlistobject.c -lm /usr/local/bin/../stow/python-2.1.3/lib/python2.1/config/libpython2.1.a -lpthread -lsocket -lnsl -ldl -lthread -lm _eprintf.o _floatdidf.o _muldi3.o /usr/local/apache/2.0.45/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -I/usr/local/apache/2.0.45/include -I/export/home/thawes/src/build/mod_python-3.0.3/src/include -I/usr/local/apache/2.0.45/include -I/usr/local/bin/../stow/python-2.1.3/include/python2.1 -c -o mod_python.lo mod_python.c && touch mod_python.slo In file included from /export/home/thawes/src/build/mod_python-3.0.3/src/include/mod_python.h:115, from mod_python.c:67: /export/home/thawes/src/build/mod_python-3.0.3/src/include/util.h:76: parse error before '*' token /export/home/thawes/src/build/mod_python-3.0.3/src/include/util.h:76: parse error before '*' token /export/home/thawes/src/build/mod_python-3.0.3/src/include/util.h:76: warning: data definition has no type or storage class apxs:Error: Command failed with rc=65536 . gmake[1]: *** [mod_python.so] Error 1 gmake[1]: Leaving directory `/export/home/thawes/src/build/mod_python-3.0.3/src' gmake: *** [do_dso] Error 2 Any ideas for a fix?
|