[mod_python] Compiling issue: connobject.c kills make

Graham Dumpleton graham.dumpleton at gmail.com
Tue Aug 4 18:45:21 EDT 2009


Use source code from subversion repository trunk.

  svn co https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk
mod_python-trunk

Details at:

  https://issues.apache.org/jira/browse/MODPYTHON-249

Graham

2009/8/5 Mr. John Perkins <john.d.perkins at gmail.com>:
> 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
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>



More information about the Mod_python mailing list