- 论坛徽章:
- 0
|
另外之后make时遇到 了这个错:
..................................................
from connobject.c:30:
/usr/include/python2.6/pyconfig-64.h:1043:1: warning: "_XOPEN_SOURCE" redefined
In file included from /usr/include/sys/types.h:26,
from /usr/include/apr-1/apr-x86_64.h:127,
from /usr/include/apr-1/apr.h:19,
from /usr/include/httpd/ap_config.h:25,
from /usr/include/httpd/httpd.h:43,
from /home/mod_python-3.3.1/src/include/mod_python.h:42,
from connobject.c:30:
/usr/include/features.h:164:1: warning: this is the location of the previous definition
connobject.c: In function 鈥榑conn_read鈥?
connobject.c:142: error: request for member 鈥榥ext鈥?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 `/home/mod_python-3.3.1/src'
make: *** [do_dso] Error 2
[root@bogon mod_python-3.3.1]#
vi /src/connobject.c
将src目录的connobject.c中的
!(b == APR_BRIGADE_SENTINEL(b) ||
替换为
!(b == APR_BRIGADE_SENTINEL(bb) ||
再make,就可以成功了。
然后make install. |
|