Nerdier

Adjective: Comparative form of nerdy: more nerdy.

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[1]: *** [mod_python.so] Error 1

To fix you need to edit;

src/connobject.c

and change

!(b == APR_BRIGADE_SENTINEL(b) ||

to

!(b == APR_BRIGADE_SENTINEL(bb) ||

Then you will be able to compile it.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *