安装软件时,出现:configure failed for srclib/apr错误
在红帽 Linux 安装apache 运用命令httpd-2.2.11]# ./configure --prefix=/usr/local/apache 时出现了
........................
checking for gcc... no
checking for cc... nochecking for cl.exe... noconfigure: error: in `/root/httpd-2.2.11/srclib/apr':configure: error: no acceptable C compiler found in $PATHSee `config.log' for more details.configure failed for srclib/apr查看了一下原来是错误开始于srclib/apr文件,检查gcc编译器时提示没发现并且在系统环境变量$PATH中没有合适的c编译器,以是使用yum -y install gcc来安装gcc编译器/或者用rpm包安装,就可继续安装了.(出自:
)