Messages per Month
|Date:||Mar 10, 2008 9:42:25 am|
I am trying to compile mod_wsgi (1.3) and am running into some problems. I believe the problems are tied to apache (2.0.45), but I am not sure what is wrong and therefore unsure how to fix it.
make /usr/local/apache/bin/apxs -c -I/usr/local/include/python2.5 -DNDEBUG mod_wsgi.c -L/usr/local/lib/python2.5/config -lpython2.5 -lresolv - lsocket -lnsl -lrt -ldl -lpthread /usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer- pic -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=9 - D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads -I/usr/local/ apache2/include -I/usr/local/include/python2.5 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo In file included from /usr/local/include/python2.5/Python.h:8, from mod_wsgi.c:106: /usr/local/include/python2.5/pyconfig.h:917:1: warning: "_FILE_OFFSET_BITS" redefined In file included from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.1/ include/sys/types.h:28, from /usr/local/apache2/include/apr.h:151, from /usr/local/apache2/include/ap_config.h:58, from /usr/local/apache2/include/httpd.h:72, from mod_wsgi.c:34: /usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition mod_wsgi.c: In function `wsgi_hook_intercept': mod_wsgi.c:4399: error: `AP_MAX_REG_MATCH' undeclared (first use in this function) mod_wsgi.c:4399: error: (Each undeclared identifier is reported only once mod_wsgi.c:4399: error: for each function it appears in.) mod_wsgi.c: In function `wsgi_manage_process': mod_wsgi.c:5284: error: `AP_MPMQ_MPM_STATE' undeclared (first use in this function) mod_wsgi.c:5285: error: `AP_MPMQ_STOPPING' undeclared (first use in this function) mod_wsgi.c: In function `wsgi_hook_logio': mod_wsgi.c:7177: warning: function called through a non-compatible type mod_wsgi.c:7177: note: if this code is reached, the program will abort apxs:Error: Command failed with rc=65536 . *** Error code 1