Rares Vernica
rvernica at gmail.com
Fri Mar 2 23:37:18 EST 2007
Hi, ./configure seems to be OK but make files when running libtool. Here is the output of the ./configure and make. Any help is greatly appreciated. Thanks a lot, Ray apple:~/<2>apple/src/mod_python-3.3.1> ./configure --with-apxs=/opt/apache-2.0.52/bin/apxs checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ar... ar checking for a BSD-compatible install... ./install-sh -c checking whether make sets $(MAKE)... yes checking for main in -lm... yes checking for an ANSI C-conforming const... yes checking your blood pressure... a bit high, but we can proceed configure: checking whether apxs is available... checking for --with-apxs... /opt/apache-2.0.52/bin/apxs executable, good checking Apache version... 2.0.52 checking for Apache libexec directory... /opt/apache-2.0.52/modules checking for Apache include directory... -I/opt/apache-2.0.52/include checking for gcc on Solaris possible missing _eprintf problem... "done" checking for --with-python... no checking for python... /opt/python/2.4.3/bin/python checking Python version... 2.4 checking Python install prefix... /opt/python/2.4.3 checking checking where python libraries are installed... /opt/python/2.4.3/lib/python2.4 checking for Py_NewInterpreter in -lpython2.4... yes checking what libraries Python was linked with... -lpython2.4 -lresolv -lsocket -lnsl -lrt -ldl -lpthread -lm checking linker flags used to link Python... checking where Python include files are... -I/opt/python/2.4.3/include/python2.4 checking for --with-python-src... no checking for --with-mutex-dir... no Using MUTEX_DIR /tmp checking for --with-max-locks... no Using 8 MAX_LOCKS. checking for --with-flex... no checking for flex... /opt/gnutools-1.1/bin/flex found /opt/gnutools-1.1/bin/flex, we'll use this. Use --with-flex to specify another. checking flex version... awk: syntax error near line 1 awk: bailing out near line 1 awk: syntax error near line 1 awk: bailing out near line 1 awk: syntax error near line 1 awk: bailing out near line 1 ./configure: line 3187: test: : integer expression expected configure: WARNING: Flex version 2.5.4 found. Version 2.5.31 or greater is required. You can generally ignore this warning unless you need to regenerate psp_parser.c from psp_parse.l. If you do need regenerate psp_parser.c, use --with-flex to specify the location of the correct flex version. See the README for more information. configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating Doc/Makefile config.status: creating src/include/mod_python.h config.status: creating test/Makefile config.status: creating test/testconf.py config.status: creating dist/setup.py config.status: creating dist/Makefile apple:~/<2>apple/src/mod_python-3.3.1> make make[1]: Entering directory `/extra/rvernica0/usr/apple/src/mod_python-3.3.1/src' Compiling for DSO. /opt/apache-2.0.52/bin/apxs -I/home/rvernica/loquat/usr/apple/src/mod_python-3.3.1/src/include -I/opt/apache-2.0.52/include -I/opt/python/2.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 finfoobject.c -L/opt/python/2.4.3/lib/python2.4/config -lm -lpython2.4 -lresolv -lsocket -lnsl -lrt -ldl -lpthread -lm _eprintf.o _floatdidf.o _muldi3.o /opt/apache-2.0.52/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -I/opt/apache-2.0.52/include -I/opt/apache-2.0.52/include -I/opt/apache-2.0.52/include -I/home/rvernica/loquat/usr/apple/src/mod_python-3.3.1/src/include -I/opt/apache-2.0.52/include -I/opt/python/2.4.3/include/python2.4 -c -o mod_python.lo mod_python.c && touch mod_python.slo In file included from /usr/include/sys/wait.h:24, from /opt/apache-2.0.52/include/apr.h:124, from /opt/apache-2.0.52/include/ap_config.h:19, from /opt/apache-2.0.52/include/httpd.h:29, from /home/rvernica/loquat/usr/apple/src/mod_python-3.3.1/src/include/mod_python.h:42, from mod_python.c:28: /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:292: error: parse error before '}' token /usr/include/sys/siginfo.h:294: error: parse error before '}' token /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:398: error: conflicting types for '__fault' /usr/include/sys/siginfo.h:267: error: previous declaration of '__fault' was here /usr/include/sys/siginfo.h:404: error: conflicting types for '__file' /usr/include/sys/siginfo.h:273: error: previous declaration of '__file' was here /usr/include/sys/siginfo.h:420: error: conflicting types for '__prof' /usr/include/sys/siginfo.h:287: error: previous declaration of '__prof' was here /usr/include/sys/siginfo.h:424: error: conflicting types for '__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of '__rctl' was here /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/sys/procset.h:24, from /usr/include/sys/wait.h:25, from /opt/apache-2.0.52/include/apr.h:124, from /opt/apache-2.0.52/include/ap_config.h:19, from /opt/apache-2.0.52/include/httpd.h:29, from /home/rvernica/loquat/usr/apple/src/mod_python-3.3.1/src/include/mod_python.h:42, from mod_python.c:28: /opt/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/sys/signal.h:96: error: parse error before "siginfo_t" In file included from /opt/apache-2.0.52/include/apr.h:124, from /opt/apache-2.0.52/include/ap_config.h:19, from /opt/apache-2.0.52/include/httpd.h:29, from /home/rvernica/loquat/usr/apple/src/mod_python-3.3.1/src/include/mod_python.h:42, from mod_python.c:28: /usr/include/sys/wait.h:86: error: parse error before "siginfo_t" In file included from /opt/apache-2.0.52/include/apr_general.h:32, from /opt/apache-2.0.52/include/apr_pools.h:38, from /opt/apache-2.0.52/include/apr_tables.h:25, from /opt/apache-2.0.52/include/apr_hooks.h:21, from /opt/apache-2.0.52/include/ap_config.h:20, from /opt/apache-2.0.52/include/httpd.h:29, from /home/rvernica/loquat/usr/apple/src/mod_python-3.3.1/src/include/mod_python.h:42, from mod_python.c:28: /usr/include/signal.h:111: error: parse error before "siginfo_t" /usr/include/signal.h:113: error: parse error before "siginfo_t" In file included from /opt/python/2.4.3/include/python2.4/Python.h:8, from /home/rvernica/loquat/usr/apple/src/mod_python-3.3.1/src/include/mod_python.h:80, from mod_python.c:28: /opt/python/2.4.3/include/python2.4/pyconfig.h:820:1: warning: "_FILE_OFFSET_BITS" redefined In file included from /opt/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/sys/types.h:29, from /opt/apache-2.0.52/include/apr.h:112, from /opt/apache-2.0.52/include/ap_config.h:19, from /opt/apache-2.0.52/include/httpd.h:29, from /home/rvernica/loquat/usr/apple/src/mod_python-3.3.1/src/include/mod_python.h:42, from mod_python.c:28: /usr/include/sys/feature_tests.h:188:1: warning: this is the location of the previous definition mod_python.c: In function `python_init': mod_python.c:826: warning: initialization from incompatible pointer type apxs:Error: Command failed with rc=65536 . make[1]: *** [mod_python.so] Error 1 make[1]: Leaving directory `/extra/rvernica0/usr/apple/src/mod_python-3.3.1/src' make: *** [do_dso] Error 2 apple:~/<2>apple/src/mod_python-3.3.1>
|