checking Apache version... ./configure: line 3178: /usr/sbin/apxs: No such file or directory

最近做的项目一直在安装些奇奇怪怪的东西,所以更新的博客没有按照之前的套路来更新,由于时间有限,忙过年底这段时间后在恢复相应专项的更新。

安装 mod_python提示报错:
checking Apache version… ./configure: line 3178: /usr/sbin/apxs: No such file or directory
./configure: line 3178: /usr/sbin/apxs: No such file or directory
./configure: line 3179: /: Is a directory
./configure: line 3180: /usr/sbin/apxs: No such file or directory

百度找了下问题,解释如下:
apxs 只有在以源代码包方式编译安装的才有
(下载压缩包解压)

问题解决办法
解决办法:
(1)yum list httpd*查找资源;

yum list httpd*

checking Apache version... ./configure: line 3178: /usr/sbin/apxs: No such file or directory_第1张图片

(2)找到 httpd-devel套件包后安装
执行:

yum install httpd-devel.i686

(3)检查安装情况

which apxs
find / -name apxs

checking Apache version... ./configure: line 3178: /usr/sbin/apxs: No such file or directory_第2张图片

安装之后,就有apxs了,问题解决,在执行安装就可以过了!!!!

你可能感兴趣的:(日常小问题处理,apxs)