【问题标题】:No acceptable C compiler found in $PATH while installing the C compiler安装 C 编译器时在 $PATH 中找不到可接受的 C 编译器
【发布时间】: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

【问题讨论】:

    标签: centos rhel


    【解决方案1】:

    需要安装编译器才能编译。上述问题中的解决方案应该有效:

    yum install gcc
    

    yum groupinstall "Development tools"
    

    之后,尝试运行编译器以确保所有内容都对齐:

    gcc
    

    【讨论】:

      猜你喜欢
      • 2013-11-17
      • 1970-01-01
      • 2011-01-14
      • 1970-01-01
      • 2018-12-11
      • 1970-01-01
      • 1970-01-01
      • 2012-03-08
      • 2012-06-14
      相关资源
      最近更新 更多