Собственно ставлю модуль, при установке возникает ошибка:
/usr/sbin/apxs -I/usr/local/src/mod_python-3.3.1/src/include -I/usr/include/apache -I/opt/python2.5/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/opt/python2.5/lib/python2.5/config -Xlinker -export-dynamic -lm -lpyt hon2.5 -lpthread -ldl -lutil -lm
/var/www/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthre ad -I/usr/local/include -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -I/usr/local/src/mod_ python-3.3.1/src/include -I/usr/include/apache -I/opt/python2.5/include/python2.5 -c -o mod_python.lo mod_python.c && touch mod_python.slo
mod_python.c: In function ‘python_init’:
mod_python.c:826: warning: initialization from incompatible pointer type
/var/www/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthre ad -I/usr/local/include -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -I/usr/local/src/mod_ python-3.3.1/src/include -I/usr/include/apache -I/opt/python2.5/include/python2.5 -c -o _apachemodule.lo _apachemo dule.c && touch _apachemodule.slo
/var/www/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthre ad -I/usr/local/include -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -I/usr/local/src/mod_ python-3.3.1/src/include -I/usr/include/apache -I/opt/python2.5/include/python2.5 -c -o requestobject.lo requestob ject.c && touch requestobject.slo
/var/www/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthre ad -I/usr/local/include -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -I/usr/local/src/mod_ python-3.3.1/src/include -I/usr/include/apache -I/opt/python2.5/include/python2.5 -c -o tableobject.lo tableobject .c && touch tableobject.slo
tableobject.c:329: warning: initialization from incompatible pointer type
tableobject.c:1092: warning: initialization from incompatible pointer type
/var/www/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthre ad -I/usr/local/include -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -I/usr/local/src/mod_ python-3.3.1/src/include -I/usr/include/apache -I/opt/python2.5/include/python2.5 -c -o util.lo util.c && touch ut il.slo
/var/www/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthre ad -I/usr/local/include -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -I/usr/local/src/mod_ python-3.3.1/src/include -I/usr/include/apache -I/opt/python2.5/include/python2.5 -c -o serverobject.lo serverobje ct.c && touch serverobject.slo
serverobject.c:387: warning: initialization from incompatible pointer type
/var/www/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthre ad -I/usr/local/include -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -I/usr/local/src/mod_ python-3.3.1/src/include -I/usr/include/apache -I/opt/python2.5/include/python2.5 -c -o connobject.lo connobject.c && touch connobject.slo
connobject.c: In function ‘_conn_read’:
connobject.c:142: error: request for member ‘next’ in something not a structure or union
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_python.so] Error 1
make[1]: Leaving directory `/usr/local/src/mod_python-3.3.1/src'
make: *** [do_dso] Error 2
До этого конфигурировал строкой
./configure --with-python=/opt/python2.5/bin/python2.5
Python
./configure --prefix=/opt/python2.5 --with-threads --enable-shared
OS: CentOS 5.6 x86_64
PS: промазал веткой, прошу перенести.