CentOs5安装apache的时候
#./configure (于检查系统是否有编译时所需的库,以及库的版本是否满足编译的需要等安装所需要的系统信息。为随后的编译工作做准备。)
提示错误如下:(没有GCC编译器环境)
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error : no acceptable C compiler found in $PATH
经过查阅资料,发现是因为没有安装GCC组件的原因 ;
自己的解决办法: (在线安装gcc)
# yum -y install gcc
先要用yum install yum-fastestmirror更新下源
再安装apache就好了。。