apxs:Error: Command failed with rc=65536

五迷三道 提交于 2019-12-08 19:33:56

问题


Centos 6.4, WHM 11.38.1

I'm having trouble trying to make mod_python work.

I'm getting this error

apxs:Error: Command failed with rc=65536

I've already tried custom_easyapache_modules.
Also tried downloading the tar.gz and

./configure --with-apxs=/usr/local/apache/bin/apxs
make && make install

I also tried (https://bugzilla.redhat.com/show_bug.cgi?id=465246) to fix /src/connobject.c

Always the same message.


回答1:


https://code.google.com/p/modwsgi/wiki/InstallationIssues

http://www.turnkeylinux.org/forum/support/20110502/compiling-apache-module-gives-apxserror-command-failed-rc65536

try recompiling your python with --enable-shared'




回答2:


Here's what worked for me:

yum install python-devel

This was also a CentOS server (DirectAdmin, though).



来源:https://stackoverflow.com/questions/17996628/apxserror-command-failed-with-rc-65536

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!