Buehre, Joseph R
joseph.r.buehre at boeing.com
Wed Nov 15 14:04:36 EST 2006
LIBTOOL VERSION: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) The -R is in the src/Makefile and is not in the Apache config_vars.mk file. I believe it is a compiler switch for the C compiler. Reference this link for -R http://docs.hp.com/en/B3901-90003/ch09s01.html NEW MAKE RUN: Removed silent as recommend but it must be hiding some where else...I tried to find it but to no avail. 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 -L/opt/Boeing/python2.4.3/lib -L/opt/Boeing/python2.4.3/lib/python2.4/config -Wl,-E -Wl,+s -lm -lpython2.4 -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 -L/opt/Boeing/python2.4.3/lib -L/opt/Boeing/python2.4.3/lib/python2.4/config -Wl,-E -Wl,+s -lm -lpython2.4 -lnsl -lrt -ldld -lpthread -lm ln -s ../lib/python/mod_python mod_python ln -s ../src src -R -opsp_parser.c --header-file=include/psp_flex.h psp_parser.l sh: -R: not found. *** Error exit code 127 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. Thanks, Joe Buehre Mission Critical Systems Support 314-791-9725 mailto:joseph.r.buehre at boeing.com -----Original Message----- From: Deron Meranda [mailto:deron.meranda at gmail.com] Sent: Wednesday, November 15, 2006 12:07 PM To: Buehre, Joseph R Cc: mod_python at modpython.org Subject: Re: [mod_python] Mod_python on HP-UX 11.11 On 11/15/06, Buehre, Joseph R <joseph.r.buehre at boeing.com> wrote: > HERE IS THE CONFIGURE RUN: > > CC=cc CXX=aCC CFLAGS=+DD32 CXXFLAGS=+DD32 > LDFLAGS=-L/opt/Boeing/python2.4.3/lib ./configure > --with-apxs=/wwimacs6/apache2/bin/apxs > --with-python=/opt/Boeing/python2.4.3/bin/python2.4 ... > /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 > -L/opt/Boeing/python2.4.3/lib > -L/opt/Boeing/python2.4.3/lib/python2.4/config -Wl,-E -Wl,+s -lm > -lpython2.4 -lnsl -lrt -ldld -lpthread -lm > -R -opsp_parser.c --header-file=include/psp_flex.h > psp_parser.l > sh: -R: not found. > *** Error exit code 127 Hmmm. I'm not sure what the -R option is there for. It's certainly wrong. Note that you may get more information by copying that last command (all the above quoted as a single line), and then run it directly but with the --silent option removed. Also, find the apxs Perl script you used and look inside it. Somewhere in the first page or so you'll see something like: my $installbuilddir = "/opt/xxxxx/apache/share/build"; which is where your Apache was built. Then inside that directory you'll find a file named "config_vars.mk". Grep through that file to find out where the libtool is located. grep LIBTOOL /opt/xxxxx/apache/share/build/config_vars.mk Then run that "libtool" script with the --version option to see what version it is: /opt/xxxxxx/apache/share/build/libtool --version and report back what it says. Also, inside the config_vars.mk file you'll also find a lot of compiler options and such. See if you can find any "-R" mentioned in there as well. What I'm trying to figure out is if the problem is with your Apache build, or with mod_python. -- Deron Meranda
|