mod_python最新的 3.3.1版本有一个bug。
make编译时显示错误:
connobject.c:142: error: request for member ‘next’ in something not a structure or union apxs:Error: Command failed with rc=65536
这个Bug已经被报告:
https://bugzilla.redhat.com/show_bug.cgi?id=467637
Bug 467637 - connobject.c:142: error: request for member 'next' in something not a structure or union
并且已经Fix。
解决方法就是从svn下载最新的版本。
svn checkout https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk/
重新编译即可。