1、安装软件时,出现:congure failed for srclib/apr 错误
在红帽 Linux 安装 apache 运用命令 httpd-2.2.11]# ./congure
--prex=/usr/local/apache 时出现了
........................
checking for gcc... no
checking for cc... no
checking for cl.exe... no
congure: error: in `/root/httpd-2.2.11/srclib/apr':
congure: error: no acceptable C compiler found in $PATH
See `cong.log' for more details.
congure failed for srclib/apr
查看了一下原来是错误开始于 srclib/apr 文件,检查 gcc 编译器时提示没发现并且在系
统环境变量$PATH 中没有合适的 c 编译器,于是使用 yum -y install gcc 来安装 gcc 编
译器/或者用 rpm 包安装,就可继续安装了.
2、linux 安装 rpm 包时遇到 error:Failed dependencies 解
法方法
在安装包后面加两个参数,如
[root@sh158-xen data]#rpm -ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm
--nodeps --force
3、为什么 make 时总是会出现-bash: make: command not
found 。是什么东西没装吗 如何装
没有装 make 包,装上即可。
用 yum install make 来装吧?