19 10 2013
mod_python apxs error on cPanel
When compiling mod_python on CentOS 5.9 with cPanel I got the following error;
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: *** [mod_python.so] Error 1
To fix you need to edit;
!(b == APR_BRIGADE_SENTINEL(b) ||
!(b == APR_BRIGADE_SENTINEL(bb) ||
Then you will be able to compile it.