Buehre, Joseph R
joseph.r.buehre at boeing.com
Sat Oct 28 19:34:57 EDT 2006
Graham Here is the output from doing "make dso" in the src directory, sorry for the delay. smrstst2> make dso Compiling for DSO. /wwimacs6/apache2/bin/apxs -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c mod_python.c _apachemodule.c requestobject.c tableobject.c util.c serverobject.c connobject.c filterobject.c hlist.c hlistobject.c -Wl,-a,archive -Wl,-E -Wl,+s -lm /opt/Boeing/python2.4.3/lib/python2.4/config/libpython2.4.a -lnsl -lrt -ldld -lpthread -lm /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o mod_python.lo mod_python.c && touch mod_python.slo cc: "mod_python.c", line 313: warning 611: Type conversion loses "const" qualifier. cc: "mod_python.c", line 313: warning 563: Argument #1 is not the correct type. cc: "mod_python.c", line 427: warning 611: Type conversion loses "const" qualifier. cc: "mod_python.c", line 458: warning 611: Type conversion loses "const" qualifier. cc: "mod_python.c", line 540: warning 611: Type conversion loses "const" qualifier. /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o _apachemodule.lo _apachemodule.c && touch _apachemodule.slo /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o requestobject.lo requestobject.c && touch requestobject.slo cc: "requestobject.c", line 426: warning 611: Type conversion loses "const" qualifier. cc: "requestobject.c", line 427: warning 604: Pointers are not assignment-compatible. cc: "requestobject.c", line 1447: warning 604: Pointers are not assignment-compatible. cc: "requestobject.c", line 1454: warning 604: Pointers are not assignment-compatible. cc: "requestobject.c", line 1569: warning 604: Pointers are not assignment-compatible. /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o tableobject.lo tableobject.c && touch tableobject.slo cc: "tableobject.c", line 1057: warning 604: Pointers are not assignment-compatible. /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o util.lo util.c && touch util.slo /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o serverobject.lo serverobject.c && touch serverobject.slo cc: "serverobject.c", line 351: warning 604: Pointers are not assignment-compatible. /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o connobject.lo connobject.c && touch connobject.slo /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o filterobject.lo filterobject.c && touch filterobject.slo /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o hlist.lo hlist.c && touch hlist.slo /wwimacs6/apache2/build/libtool --silent --mode=compile /opt/ansic/bin/cc -prefer-pic -O3 -DSSL_EXPERIMENTAL -DSSL_ENGINE -D_REENTRANT -Ae +DAportable -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/wwimacs6/apache2/include -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -c -o hlistobject.lo hlistobject.c && touch hlistobject.slo /wwimacs6/apache2/build/libtool --silent --mode=link /opt/ansic/bin/cc -o mod_python.la -I/mod_python-3.2.10/src/include -I/wwimacs6/apache2/include -I/opt/Boeing/python2.4.3/include/python2.4 -rpath /wwimacs6/apache2/modules -module -avoid-version hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo -Wl,-a,archive -Wl,-E -Wl,+s -lm /opt/Boeing/python2.4.3/lib/python2.4/config/libpython2.4.a -lnsl -lrt -ldld -lpthread -lm *** Warning: Trying to link with static lib archive /opt/Boeing/python2.4.3/lib/python2.4/config/libpython2.4.a. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because the file extensions .a of this argument makes me believe *** that it is just a static archive that I should not used here. Thanks, Joe Buehre Mission Critical Systems Support 314-791-9725 mailto:joseph.r.buehre at boeing.com -----Original Message----- From: Graham Dumpleton [mailto:grahamd at dscpl.com.au] Sent: Tuesday, October 24, 2006 5:00 PM To: Buehre, Joseph R Cc: mod_python at modpython.org Subject: Re: [mod_python] Compiling mod_python HP-UX Buehre, Joseph R wrote .. > Has anyone sucessfully compiled mod_python on HP-UX with apache 2.0 > and the last release of mod_python. My compile comes out with no > errors but does not create the mod_python.so file. It has been noted that although sometimes a .so isn't generated and errors are generated, but the build process still continues. Because the creation of the .so is not the last thing in the build, the actual error messages can be buried in the middle of the build output. Thus, make sure you go back through the whole build output looking for anything that looks like an error or warning, don't expect that it will be at the end and that the build will stop with an error. Also trying going: cd src make dso What is the output you get from doing just that? Graham
|