Graham Dumpleton
graham.dumpleton at gmail.com
Fri Nov 21 17:12:43 EST 2008
See: https://issues.apache.org/jira/browse/MODPYTHON-249 2008/11/22 Reed Rothchild <reed.rothchild1 at gmail.com>: > Hi, I've been troubleshooting building mod_python all day and haven't made > much progress. I've built the following from source: > > apache 2.2.10 > python 2.5.2 > mod_python-3.3.1 (well trying to...) > > Apache and python built fine. My first attempt to build mod_python resulted > in one error that was resolved by rebuilding python with --enable-shared. > However, after untarring the source and running the following, I get the > output and error at the bottom with the useless error message Command failed > with rc=65536... I even tried going into the srclib under apache, building > apr & apr-util, and rebuilding apache off those. No luck. I downloaded > apache 2.0.63 and it worked fine. I'm at a loss. Thanks for any help. > > ./configure --with-apxs=/usr/local/apache2/bin/apxs > --with-python=/usr/local/bin/python2.5 > make > > Compiling for DSO. > > /usr/local/apache2/bin/apxs -I/root/mod_python-3.3.1/src/include > -I/usr/local/apache2/include -I/usr/local/include/python2.5 -c mod_python.c > _apachemodule.c requestobject.c tableobject.c util.c serverobject.c > connobject.c filterobject.c hlist.c hlistobject.c finfoobject.c -Xlinker > -export-dynamic -lm /usr/local/lib/python2.5/config/libpython2.5.a > -lpthread -ldl -lutil -lm -L/lib -lssl -lcrypto > /usr/local/apr-httpd//build-1/libtool --silent --mode=compile gcc > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g > -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apr-httpd//include/apr-1 > -I/usr/local/apr-util-httpd//include/apr-1 > -I/root/mod_python-3.3.1/src/include -I/usr/local/apache2/include > -I/usr/local/include/python2.5 -c -o mod_python.lo mod_python.c && touch > mod_python.slo > mod_python.c: In function 'python_init': > mod_python.c:826: warning: initialization from incompatible pointer type > /usr/local/apr-httpd//build-1/libtool --silent --mode=compile gcc > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g > -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apr-httpd//include/apr-1 > -I/usr/local/apr-util-httpd//include/apr-1 > -I/root/mod_python-3.3.1/src/include -I/usr/local/apache2/include > -I/usr/local/include/python2.5 -c -o _apachemodule.lo _apachemodule.c && > touch _apachemodule.slo > /usr/local/apr-httpd//build-1/libtool --silent --mode=compile gcc > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g > -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apr-httpd//include/apr-1 > -I/usr/local/apr-util-httpd//include/apr-1 > -I/root/mod_python-3.3.1/src/include -I/usr/local/apache2/include > -I/usr/local/include/python2.5 -c -o requestobject.lo requestobject.c && > touch requestobject.slo > /usr/local/apr-httpd//build-1/libtool --silent --mode=compile gcc > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g > -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apr-httpd//include/apr-1 > -I/usr/local/apr-util-httpd//include/apr-1 > -I/root/mod_python-3.3.1/src/include -I/usr/local/apache2/include > -I/usr/local/include/python2.5 -c -o tableobject.lo tableobject.c && touch > tableobject.slo > tableobject.c:1092: warning: initialization from incompatible pointer type > /usr/local/apr-httpd//build-1/libtool --silent --mode=compile gcc > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g > -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apr-httpd//include/apr-1 > -I/usr/local/apr-util-httpd//include/apr-1 > -I/root/mod_python-3.3.1/src/include -I/usr/local/apache2/include > -I/usr/local/include/python2.5 -c -o util.lo util.c && touch util.slo > /usr/local/apr-httpd//build-1/libtool --silent --mode=compile gcc > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g > -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apr-httpd//include/apr-1 > -I/usr/local/apr-util-httpd//include/apr-1 > -I/root/mod_python-3.3.1/src/include -I/usr/local/apache2/include > -I/usr/local/include/python2.5 -c -o serverobject.lo serverobject.c && > touch serverobject.slo > serverobject.c:387: warning: initialization from incompatible pointer type > /usr/local/apr-httpd//build-1/libtool --silent --mode=compile gcc > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g > -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apr-httpd//include/apr-1 > -I/usr/local/apr-util-httpd//include/apr-1 > -I/root/mod_python-3.3.1/src/include -I/usr/local/apache2/include > -I/usr/local/include/python2.5 -c -o connobject.lo connobject.c && touch > connobject.slo > connobject.c: In function '_conn_read': > connobject.c:142: error: request for member 'next' in something not a > structure or union > apxs:Error: Command failed with rc=65536 > . > make[1]: *** [mod_python.so] Error 1 > make[1]: Leaving directory `/root/mod_python-3.3.1/src' > make: *** [do_dso] Error 2 > [ > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python > >
|