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

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

你可能感兴趣的:(redhat6.5 yum register 问题)