Chinaunix首页 | 论坛 | 博客
  • 博客访问: 758816
  • 博文数量: 201
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 2391
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-06 22:16
文章分类

全部博文(201)

文章存档

2011年(1)

2010年(2)

2009年(57)

2008年(141)

我的朋友

分类: LINUX

2009-11-25 01:17:01

Fails to build with the following error from macports:

/opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.0 -prefer-pic -O2 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python/work/mod_python-3.3.1/src/include -I/opt/local/apache2/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -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: *** [do_dso] Error 2

Error: Status 1 encountered during processing.

Bug reported at:



Recommended fix:

You can download the source and implement a suggested fix - on line 142 of
connobject.c you can replace

!(b == APR_BRIGADE_SENTINEL(b) ||

with

!(b == APR_BRIGADE_SENTINEL(bb) ||

suggested here:
http://www.mail-archive.com/dev@apr.apache.org/msg20588.html

However this is obviously untested, though it compiles fine.

(From response #6 from Gentoo bug report)

阅读(5153) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~