[mod_python] make not building mod_python.so

Mike Chambers mikechambers at gmail.com
Fri Apr 25 18:45:33 EDT 2008


I am trying to install mod_python on my debian system, and have hit a 
roadblock.

mod_python : 3.3.1
Python : 2.5.2
apache : 2.2.8


./configure --with-apxs=/usr/local/apache2/bin/apxs
make
sudo make install

This all completes, but the mod_python.so is not created. Looking at the 
output from

make install

I see:

/usr/bin/install: cannot stat `src/mod_python.so': No such file or directory

I found one reference to this on the web, which suggested that it was 
due to an old version of libtool used by Apache. So, I updated libtool, 
and recompiled apache, but it is still not working.

I am including the complete make and make install output below.

Does anyone have any idea what might be going on? I have been trying to 
get this to compile for about 12 hours now (spread over a couple of 
days), and am not sure what to do at this point.

Thanks for any help...

mike


----------------------make output-----------------------------

make[1]: Entering directory `/home/mesh/tmp/mod_python-3.3.1/src'

Compiling for DSO.

/usr/local/apache2/bin/apxs 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5 -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/usr/local/lib/python2.5/config  -Xlinker 
-export-dynamic      -lm  -lpython2.5 -lpthread -ldl -lutil -lm
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
mod_python.lo mod_python.c && touch mod_python.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from mod_python.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from mod_python.c:28:
/usr/include/features.h:150: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
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
_apachemodule.lo _apachemodule.c && touch _apachemodule.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from _apachemodule.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from _apachemodule.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
requestobject.lo requestobject.c && touch requestobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from requestobject.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from requestobject.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
tableobject.lo tableobject.c && touch tableobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from tableobject.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from tableobject.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
tableobject.c:1092: warning: initialization from incompatible pointer type
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
util.lo util.c && touch util.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from util.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from util.c:28:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
serverobject.lo serverobject.c && touch serverobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from serverobject.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from serverobject.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
serverobject.c:387: warning: initialization from incompatible pointer type
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
connobject.lo connobject.c && touch connobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from connobject.c:30:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from connobject.c:30:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
filterobject.lo filterobject.c && touch filterobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from filterobject.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from filterobject.c:28:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
hlist.lo hlist.c && touch hlist.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from hlist.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from hlist.c:28:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
hlistobject.lo hlistobject.c && touch hlistobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from hlistobject.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from hlistobject.c:28:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
finfoobject.lo finfoobject.c && touch finfoobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from finfoobject.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from finfoobject.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
finfoobject.c:278: warning: `intargfunc' is deprecated (declared at 
/usr/local/include/python2.5/object.h:133)
/usr/local/apache2/build/libtool --silent --mode=link gcc -o 
mod_python.la  -rpath /usr/local/apache2/modules -module -avoid-version 
    finfoobject.lo hlistobject.lo hlist.lo filterobject.lo connobject.lo 
serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo 
mod_python.lo -L/usr/local/lib/python2.5/config -Xlinker -export-dynamic 
-lm -lpython2.5 -lpthread -ldl -lutil -lm
make[1]: Leaving directory `/home/mesh/tmp/mod_python-3.3.1/src'
make[1]: Entering directory `/home/mesh/tmp/mod_python-3.3.1/dist'
make[2]: Entering directory `/home/mesh/tmp/mod_python-3.3.1/src'
make[2]: `psp_parser.c' is up to date.
make[2]: Leaving directory `/home/mesh/tmp/mod_python-3.3.1/src'
/usr/local/bin/python setup.py build
running build
running build_py
running build_ext
make[1]: Leaving directory `/home/mesh/tmp/mod_python-3.3.1/dist'

Now su and make install
   (or, if you only want to perform a partial install,
    you can use make install_dso and make install_py_lib)




----------------------make install output---------------------
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
mod_python.lo mod_python.c && touch mod_python.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from mod_python.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from mod_python.c:28:
/usr/include/features.h:150: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
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
_apachemodule.lo _apachemodule.c && touch _apachemodule.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from _apachemodule.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from _apachemodule.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
requestobject.lo requestobject.c && touch requestobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from requestobject.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from requestobject.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
tableobject.lo tableobject.c && touch tableobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from tableobject.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from tableobject.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
tableobject.c:1092: warning: initialization from incompatible pointer type
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
util.lo util.c && touch util.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from util.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from util.c:28:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
serverobject.lo serverobject.c && touch serverobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from serverobject.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from serverobject.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
serverobject.c:387: warning: initialization from incompatible pointer type
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
connobject.lo connobject.c && touch connobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from connobject.c:30:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from connobject.c:30:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
filterobject.lo filterobject.c && touch filterobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from filterobject.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from filterobject.c:28:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
hlist.lo hlist.c && touch hlist.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from hlist.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from hlist.c:28:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
hlistobject.lo hlistobject.c && touch hlistobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from hlistobject.c:28:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from hlistobject.c:28:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include 
-I/usr/local/apache2/include 
-I/home/mesh/tmp/mod_python-3.3.1/src/include 
-I/usr/local/apache2/include -I/usr/local/include/python2.5  -c -o 
finfoobject.lo finfoobject.c && touch finfoobject.slo
In file included from /usr/local/include/python2.5/Python.h:8,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:80,
                  from finfoobject.c:25:
/usr/local/include/python2.5/pyconfig.h:942:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                  from /usr/local/apache2/include/apr.h:116,
                  from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:43,
                  from 
/home/mesh/tmp/mod_python-3.3.1/src/include/mod_python.h:42,
                  from finfoobject.c:25:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
finfoobject.c:278: warning: `intargfunc' is deprecated (declared at 
/usr/local/include/python2.5/object.h:133)
/usr/local/apache2/build/libtool --silent --mode=link gcc -o 
mod_python.la  -rpath /usr/local/apache2/modules -module -avoid-version 
    finfoobject.lo hlistobject.lo hlist.lo filterobject.lo connobject.lo 
serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo 
mod_python.lo -L/usr/local/lib/python2.5/config -Xlinker -export-dynamic 
-lm -lpython2.5 -lpthread -ldl -lutil -lm
/usr/bin/install: cannot stat `src/mod_python.so': No such file or directory
make[1]: *** [install_dso] Error 1


More information about the Mod_python mailing list