Compiling issue: connobject.c kills make

"Mr. John Perkins" <[email protected]> Tue, 4 Aug 2009 12:27:55 -1000
Newsgroups gmane.comp.python.mod_python
Message-ID <[email protected]>
Hello World,

I'm running into a wall trying to compile mod_python on my development
environment. Any help would be greatly appreciated.

Configure exits clean and everything looks good. Make fails with:

> make
Compiling for DSO.
 == SNIP ==
"tableobject.c", line 1092: warning: initialization type mismatch
/usr/apr/1.3/build/libtool --silent --mode=compile cc -m32 -prefer-pic -xO3
-m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all -DSSL_EXPERIMENTAL
-DSSL_ENGINE -xO4  -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -mt
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/apache2/2.2/include
-I/usr/apr/1.3/include   -I/usr/apr-util/1.3/include -I/usr/include
-I/export/home/john/Downloads/mod_python_extracted/mod_python-3.3.1/src/include
-I/usr/apache2/2.2/include -I/usr/include/python2.4  -c -o util.lo util.c &&
touch util.slo
/usr/apr/1.3/build/libtool --silent --mode=compile cc -m32 -prefer-pic -xO3
-m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all -DSSL_EXPERIMENTAL
-DSSL_ENGINE -xO4  -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -mt
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/apache2/2.2/include
-I/usr/apr/1.3/include   -I/usr/apr-util/1.3/include -I/usr/include
-I/export/home/john/Downloads/mod_python_extracted/mod_python-3.3.1/src/include
-I/usr/apache2/2.2/include -I/usr/include/python2.4  -c -o serverobject.lo
serverobject.c && touch serverobject.slo
"serverobject.c", line 387: warning: initialization type mismatch
/usr/apr/1.3/build/libtool --silent --mode=compile cc -m32 -prefer-pic -xO3
-m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all -DSSL_EXPERIMENTAL
-DSSL_ENGINE -xO4  -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -mt
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/apache2/2.2/include
-I/usr/apr/1.3/include   -I/usr/apr-util/1.3/include -I/usr/include
-I/export/home/john/Downloads/mod_python_extracted/mod_python-3.3.1/src/include
-I/usr/apache2/2.2/include -I/usr/include/python2.4  -c -o connobject.lo
connobject.c && touch connobject.slo
"connobject.c", line 142: non-unique member requires struct/union pointer:
next
"connobject.c", line 142: warning: left operand of "->" must be pointer to
struct/union
cc: acomp failed for connobject.c
apxs:Error: Command failed with rc=65536
.
*** Error code 1
make: Fatal error: Command failed for target `mod_python.so'
Current working directory
/export/home/john/Downloads/mod_python_extracted/mod_python-3.3.1/src
*** Error code 1
The following command caused the error:
cd src && make
make: Fatal error: Command failed for target `do_dso'
== SNIP ==


Anyone see whats wrong here?

_______________________________________________
Mod_python mailing list
[email protected]
http://mailman.modpython.org/mailman/listinfo/mod_python