homepage Welcome to WebmasterWorld Guest from 23.22.179.210
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
installation fail mod python 3.3.1
installation fail mod_python 3.3.1
battulga




msg:4424704
 12:40 pm on Mar 4, 2012 (gmt 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

 

battulga




msg:4424705
 12:56 pm on Mar 4, 2012 (gmt 0)

changed this.

on src/connobject.c

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved