Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

installation fail mod python 3.3.1

installation fail mod_python 3.3.1

12:40 pm on Mar 4, 2012 (gmt 0)

New User

5+ Year Member

joined:Mar 4, 2012
votes: 0

Installed following packages. compile from source.

httpd-2.4.1 with apr-1.4.6, apr-iconv-1.2.1, apr-util-1.4.1, pcre-8.30

But can't install mod_python 3.3.1, because compile following errors.

/usr/local/apache2/bin/apxs -I/sources/apache/mod_python-3.3.1/src/include -I/usr/local/apache2/include -I/usr/local/python252/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/python252/lib/python2.5/config -Xlinker -export-dynamic -lm -lpython2.5 -lpthread -ldl -lutil -lm
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache2/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/sources/apache/mod_python-3.3.1/src/include -I/usr/local/apache2/include -I/usr/local/python252/include/python2.5 -c -o mod_python.lo mod_python.c && touch mod_python.slo
mod_python.c: In function 'init_mutexes':
mod_python.c:564: error: 'unixd_config' undeclared (first use in this function)
mod_python.c:564: error: (Each undeclared identifier is reported only once
mod_python.c:564: error: for each function it appears in.)

mod_python.c:565: warning: implicit declaration of function 'unixd_set_global_mutex_perms'
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[1]: *** [mod_python.so] Error 1
make[1]: Leaving directory `/sources/apache/mod_python-3.3.1/src'
make: *** [do_dso] Error 2
12:56 pm on Mar 4, 2012 (gmt 0)

New User

5+ Year Member

joined:Mar 4, 2012
votes: 0

changed this.

on src/connobject.c

while ((bytes_read < len || len == 0) &&
-- !(b == APR_BRIGADE_SENTINEL(b) ||
++ !(b == APR_BRIGADE_SENTINEL(bb) ||

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members