1. 程式人生 > >redhat6.5 yum register 問題

redhat6.5 yum register 問題

安裝apache時,出現如下錯誤:

configure: error: in `/usr/local/src/httpd-2.2.24/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr

  解析錯誤提示: 

    配置編譯引數時,/usr/local/src/httpd-2.2.24/srclib/apr檔案出錯,經檢查,發現系統變數$PATH中沒有編譯器。

  解決方案:

    yum -y install gcc

  亦或手動安裝gcc

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