configure: error: in `/root/httpd-2.2.11/srclib/apr': c

安裝軟件時,出現:configure failed for srclib/apr錯誤

在紅帽 Linux 安裝apache 運用命令httpd-2.2.11]# ./configure  --prefix=/usr/local/apache 時出現了

........................

checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/httpd-2.2.11/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr

   查看了一下原來是錯誤開始於srclib/apr文件,檢查gcc編譯器時提示沒發現並且在系統環境變量$PATH中沒有合適的c編譯器,以是使用yum -y install gcc來安裝gcc編譯器/或者用rpm包安裝,就可繼續安裝了.(出自:


http://hi.baidu.com/haobaoipv6/item/f63aa709e84a23e3fe240d78


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章