【发布时间】:2016-06-08 16:04:22
【问题描述】:
我在安装 C 编译器本身 (gcc gnu) 时遇到以下错误。
configure: error: in `/home/gcc-5.3.0':
configure: error: no acceptable C compiler found in $PATH
注意我已经尝试了question 中列出的解决方案,但没有成功。
操作系统:RHEL6 和 CentOS
【问题讨论】:
我在安装 C 编译器本身 (gcc gnu) 时遇到以下错误。
configure: error: in `/home/gcc-5.3.0':
configure: error: no acceptable C compiler found in $PATH
注意我已经尝试了question 中列出的解决方案,但没有成功。
操作系统:RHEL6 和 CentOS
【问题讨论】:
需要安装编译器才能编译。上述问题中的解决方案应该有效:
yum install gcc
或
yum groupinstall "Development tools"
之后,尝试运行编译器以确保所有内容都对齐:
gcc
【讨论】: