[mod_python] Issue with 'make'

Graham Dumpleton grahamd at dscpl.com.au
Wed Dec 27 17:06:42 EST 2006


Your Apache web server is configured and compiled with IBM compiler. Go,
back to trying IBM compiler and we will just need to work through each of
the errors and work them out. Still use 3.3.0b though. Post the output as
you are doing now.

Graham

Andrew Neilson wrote ..
> Graham
>     Thanks for responding.  I am not sure which compiler was used, so I
> have put the question to our admin folks to find out.  I grabbed 3.3.0b
> as you suggested, ran the configure and the make and the make blew up.
> The output is below.  I wasn't overly concerned with gcc complaining about
> a couple of unrecognized options.  I am totally stumped about the other
> errors.  Could the issue be related to difficulty running the httpd executable?
> In this build I can't run it directly, I need to use the apachectl script
> to get any output from it (which made it necessary to modify the configure
> script so that the version could be recognized)
> 
> 
> Andrew.
> 
> 
> 
> Compiling for DSO.
> 
>         /usr/IBMIHS6/bin/apxs -I/home/python/mod_python-3.3.0b/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 finfoobject.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 gcc -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.3.0b/src/include
> -I/usr/IBMIHS6/include -I/usr/local/include/python2.1  -c -o mod_python.lo
> mod_python.c && touch mod_python.slo
> gcc: unrecognized option '-qmaxmem=8192'
> gcc: unrecognized option '-qHALT=E'
> In file included from /usr/IBMIHS6/include/apr_portable.h:85,
>                  from /usr/IBMIHS6/include/http_protocol.h:64,
>                  from /home/python/mod_python-3.3.0b/src/include/mod_python.h:48,
>                  from mod_python.c:28:
> /usr/include/pthread.h:652: error: parse error before '*' token
> /usr/include/pthread.h:655: error: parse error before '*' token
> /usr/include/pthread.h:658: error: parse error before '*' token
> /usr/include/pthread.h:661: error: parse error before '*' token
> /usr/include/pthread.h:664: error: parse error before '*' token
> /usr/include/pthread.h:672: error: parse error before '*' token
> /usr/include/pthread.h:675: error: parse error before '*' token
> /usr/include/pthread.h:678: error: parse error before '*' token
> /usr/include/pthread.h:681: error: parse error before '*' token
> /usr/include/pthread.h:689: error: parse error before '*' token
> /usr/include/pthread.h:693: error: parse error before '*' token
> /usr/include/pthread.h:696: error: parse error before '*' token
> In file included from /home/python/mod_python-3.3.0b/src/include/mod_python.h:99,
>                  from mod_python.c:28:
> /home/python/mod_python-3.3.0b/src/include/util.h:37: error: parse error
> before '*' token
> /home/python/mod_python-3.3.0b/src/include/util.h:37: error: parse error
> before '*' token
> /home/python/mod_python-3.3.0b/src/include/util.h:37: warning: data definition
> has no type or storage class
> 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: 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.
> 
> 
>   ----- Original Message ----- 


More information about the Mod_python mailing list