Andrew Neilson
detrafi at gmail.com
Tue Dec 26 13:44:08 EST 2006
Please excuse any dumb questions - I am new to this and have limited C experience. Any help would be appreciated. Here is what I have: Apache: Server version: IBM_HTTP_Server/6.0.2 Apache/2.0.47 Server built: Jun 4 2005 09:30:48 AIX 5.3.0.0 Mod Python 3.2.10 IBM C compiler, Version 8 When I run the 'make' I get all kinds of errors that I don't really understand. I have managed to slog through a great deal, but this is a brick wall for me. I have listed the output of running the configure script first, in case that has any clues. The output from the make is below that. I was running the compile with gcc (that was interesting, to say the least). I am getting further with Version 8, though. I tried running the configure with and without the python option and the results were the same when running the make. Thanks Andrew. bash-2.05b# ./configure --with-apxs=/usr/IBMIHS6/bin/apxs --with-python=/usr/local/bin/python2.1 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... /usr/IBMIHS6/bin/apxs executable, good checking Apache version... 2.0.47 checking for Apache libexec directory... /usr/IBMIHS6/modules checking for Apache include directory... -I/usr/IBMIHS6/include checking for --with-python... /usr/local/bin/python2.1 checking Python version... 2.1 checking Python install prefix... /usr/local checking checking where python libraries are installed... /usr/local/lib/python2.1 checking what libraries Python was linked with... /usr/local/lib/python2.1/config/libpython2.1.a -lpthread -ldl -lthread -lm checking linker flags used to link Python... checking where Python include files are... -I/usr/local/include/python2.1 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... no configure: WARNING: flex not found 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 flex. 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/testconf.py config.status: creating dist/setup.py config.status: creating dist/Makefile bash-2.05b# make Compiling for DSO. /usr/IBMIHS6/bin/apxs -I/home/python/mod_python-3.2.10/src/include -I/usr/IBMIHS6/include -I/usr/local/include/python2.1 -c mod_python.c _apachemodule.c requestobject.c tableobject.c util.c serverobject.c connobject.c filterobject.c hlist.c hlistobject.c -Wl,-bE:Modules/python.exp -lld -lm /usr/local/lib/python2.1/config/libpython2.1.a -lpthread -ldl -lthread -lm /usr/IBMIHS6/build/libtool --silent --mode=compile xlc_r -prefer-pic -O2 -qmaxmem=8192 -U__STR__ -D_THREAD_SAFE -D_USE_IRS -qHALT=E -I/usr/IBMIHS6/include -I/usr/IBMIHS6/include -I/usr/IBMIHS6/include -I/home/python/mod_python-3.2.10/src/include -I/usr/IBMIHS6/include -I/usr/local/include/python2.1 -c -o mod_python.lo mod_python.c && touch mod_python.slo "/home/python/mod_python-3.2.10/src/include/util.h", line 37.1: 1506-166 (S) Definition of function PyMemberDef requires parentheses. "/home/python/mod_python-3.2.10/src/include/util.h", line 37.13: 1506-276 (S) Syntax error: possible missing '{'? "/home/python/mod_python-3.2.10/src/include/hlist.h", line 42.7: 1506-273 (E) Missing type in declaration of hl_entry. "/home/python/mod_python-3.2.10/src/include/hlist.h", line 44.5: 1506-166 (S) Definition of function hl_entry requires parentheses. "/home/python/mod_python-3.2.10/src/include/hlist.h", line 44.14: 1506-276 (S) Syntax error: possible missing '{'? "/home/python/mod_python-3.2.10/src/include/hlistobject.h", line 38.7: 1506-273 (E) Missing type in declaration of hlistobject. "/home/python/mod_python-3.2.10/src/include/hlistobject.h", line 44.72: 1506-277 (S) Syntax error: possible missing ')' or ','? "/home/python/mod_python-3.2.10/src/include/hlistobject.h", line 44.33: 1506-282 (S) The type of the parameters must be specified in a prototype. "/home/python/mod_python-3.2.10/src/include/hlistobject.h", line 45.64: 1506-277 (S) Syntax error: possible missing ')' or ','? "/home/python/mod_python-3.2.10/src/include/hlistobject.h", line 45.27: 1506-282 (S) The type of the parameters must be specified in a prototype. "/home/python/mod_python-3.2.10/src/include/hlistobject.h", line 46.64: 1506-277 (S) Syntax error: possible missing ')' or ','? "/home/python/mod_python-3.2.10/src/include/hlistobject.h", line 46.27: 1506-282 (S) The type of the parameters must be specified in a prototype. "/home/python/mod_python-3.2.10/src/include/connobject.h", line 47.9: 1506-046 (S) Syntax error. "/home/python/mod_python-3.2.10/src/include/requestobject.h", line 49.9: 1506-046 (S) Syntax error. "/home/python/mod_python-3.2.10/src/include/mod_python.h", line 147.5: 1506-046 (S) Syntax error. "mod_python.c", line 313.16: 1506-280 (W) Function argument assignment between types "void*" and "const char*" is not allowed. "mod_python.c", line 427.9: 1506-068 (W) Operation between types "char*" and "const char*" is not allowed. "mod_python.c", line 458.15: 1506-068 (W) Operation between types "char*" and "const char*" is not allowed. "mod_python.c", line 540.15: 1506-068 (W) Operation between types "char*" and "const char*" is not allowed. "mod_python.c", line 793.15: 1506-045 (S) Undeclared identifier hle. "mod_python.c", line 882.15: 1506-045 (S) Undeclared identifier head. "mod_python.c", line 885.23: 1506-275 (S) Unexpected text ')' encountered. "mod_python.c", line 885.22: 1506-068 (S) Operation between types "int" and "void*" is not allowed. "mod_python.c", line 885.72: 1506-277 (S) Syntax error: possible missing ')' or ','? "mod_python.c", line 1074.39: 1506-046 (S) Syntax error. "mod_python.c", line 1134.21: 1506-045 (S) Undeclared identifier hle. "mod_python.c", line 1169.15: 1506-045 (S) Undeclared identifier hle. "mod_python.c", line 1169.19: 1506-277 (S) Syntax error: possible missing ';' or ','? "mod_python.c", line 1170.15: 1506-045 (S) Undeclared identifier dynhle. "mod_python.c", line 1193.26: 1506-275 (S) Unexpected text ')' encountered. "mod_python.c", line 1193.25: 1506-068 (S) Operation between types "int" and "void*" is not allowed. "mod_python.c", line 1195.60: 1506-277 (S) Syntax error: possible missing ')' or ','? "mod_python.c", line 1200.26: 1506-275 (S) Unexpected text ')' encountered. "mod_python.c", line 1200.25: 1506-068 (S) Operation between types "int" and "void*" is not allowed. "mod_python.c", line 1200.81: 1506-277 (S) Syntax error: possible missing ')' or ','? "mod_python.c", line 1210.29: 1506-275 (S) Unexpected text ')' encountered. "mod_python.c", line 1210.28: 1506-068 (S) Operation between types "int" and "void*" is not allowed. apxs:Error: Command failed with rc=65536 . make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061226/3277e559/attachment.html
|