[root@localhost httpd-2.4.41]# ./configure --prefix=/usr/local/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.3.0
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
看到上面提示gcc、cc、cl都沒有,也不知道怎么辦,大佬們,求教求教
uj5u.com熱心網友回復:
本機沒有加安裝啊.apt yum pacmanuj5u.com熱心網友回復:
不會搞啊,弄了好久了,大佬幫幫我吧


uj5u.com熱心網友回復:
你什么系統啊。uj5u.com熱心網友回復:
紅帽9。。。。
uj5u.com熱心網友回復:
我沒記錯的話,這個不影響的。如果有影響安裝就可以了:yum -y install gccuj5u.com熱心網友回復:
yum install gccuj5u.com熱心網友回復:
原始碼安裝apache的都是高手!uj5u.com熱心網友回復:
> configure: error: no acceptable C compiler found in $PATH這個才是錯誤吧
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/27891.html
標籤:系統維護與使用區
上一篇:centos7 黑屏問題
