[mod_python] Compiling issue: connobject.c kills make

Mr. John Perkins john.d.perkins at gmail.com
Tue Aug 4 18:27:55 EDT 2009


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20090804/8a6060e3/attachment.html


More information about the Mod_python mailing list