Jonathan Chong
ashburrn at gmail.com
Sat Jun 7 18:47:11 EDT 2008
Hello I am trying to compile mod_python on my system but have been consistently receiving a make_dso error. I have Apache 2.2.8 installed and running fine, compiled with the following config: ./configure --prefix=/httpd --enable-so --enable-rewrite --enable-deflate --enable-mime-magic I have Python 2.5.1 installed and I'm trying to compile mod_python with the following: ./configure --with-apxs=/httpd/bin/apxs --with-python=/usr/local/bin/python --with-flex=/usr/local/bin/flex The configure runs fine, but when I try to run make, I receive this error: ... /usr/include/features.h:132:1: warning: this is the location of the previous definition finfoobject.c:278: warning: `intargfunc' is deprecated (declared at /usr/local/include/python2.5/object.h:133) finfoobject.c:278: warning: initialization from incompatible pointer type /httpd/build/libtool --silent --mode=link gcc -o mod_python.la -rpath /httpd/modules -module -avoid-version finfoobject.lo hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo -L/usr/local/lib/python2.5/config -Xlinker -export-dynamic -lm -lpython2.5 -lpthread -ldl -lutil -lm /usr/bin/ld: /usr/local/lib/python2.5/config/libpython2.5.a(abstract.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad value collect2: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . make[1]: *** [mod_python.so] Error 1 make[1]: Leaving directory `/usr/local/src/mod_python-3.3.1/src' make: *** [do_dso] Error 2 I have full root access on a dedicated server, running CentOS release 3.6 (Final). Any help is much appreciated, thanks. -- Jonathan Chong http://jonathanchong.com/ http://arsenal-mania.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080607/7ff60b78/attachment.html
|