`
lsx125920
  • 浏览: 44278 次
  • 性别: Icon_minigender_1
  • 来自: 福建
社区版块
存档分类
最新评论

no acceptable C compiler found in $PATH 问题处理

阅读更多
执行./configure 然后就出现以下提示 :

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


执行make后,
提示:No targets specified and no makefile found.Stop.

执行make install后
提示:No rule to make target 'install'.Stop.

经过查阅资料,发现是因为没有安装GCC组件的原因;

我试着通过System settings中的Add/RemoveApplications来添加/删除组件,选中开发工具中相应的项,点击update,提示插入disk1, 我插入光盘,但不起作用,不知是不是因为在虚拟机中的原因...没办法了,手动安装,我放入red hat 工具盘,拷出了gcc*.rpm,然后共享至虚拟机中的linux 中,安装,提示缺少其他一些组件,最后经过来回搜索与拷贝,GCC安装成功,所需文件有:

libf2c-3.3.2-1.i386.rpm
libstdc -devel-3.3.2-1.i386.rpm
glibc-kernheaders-2.4-8.36.i386.rpm
glibc-headers-2.3.2-101.i386.rpm
glibc-devel-2.3.2-101.i386.rpm
gcc-objc-3.3.2-1.i386.rpm
binutils-2.14.90.0.6-3.i386.rpm
gcc-3.3.2-1.i386.rpm
gcc-c -3.3.2-1.i386.rpm
automake14-1.4p6-7.noarch.rpm

安装比较简单:
#rpm -ivh rpm文件


OK,可以正常使用./configure 和make命令了.
分享到:
评论

相关推荐

    Linux-jpcap-gcc

    configure: error: no acceptable C compiler found in $PATH ------------------------ linux 中,安装,提示缺少其他一些组件,经过来回搜索与拷贝,GCC安装成功,所需文件有: libf2c-3.3.2-1.i386.rpm libstdc -devel...

    centos7_rlwrap-0.42.tar.gz

    如编译报错提示:configure:3414: error: no acceptable C compiler found in $PATH yum -y install gcc ./configure && make && make install 安装完成后 [root@localhost rlwrap-0.42]# which rlwrap /usr/local/...

    CentOS 7 安装python3.7.1的方法及注意事项

    安装wget yum -y install wget 创建一个download目录用于下载各种安装包 mkdir download 切换到刚创建的download目录中 cd download ...注意,我这里报错:no acceptable C compiler found in $PATH 这

    RedHat--python3.6.5安装手册.docx

    问题1:`configure: error: no acceptable C compiler found in $PATH` 解决方法:这个错误意味着系统中没有可用的C编译器。要解决这个问题,你需要安装GCC及其依赖包,使用`yum -y install gcc`命令。 问题2:`...

    安装apache mysql php 手册&&开发apache,php扩展模块方法

    5. 如果在配置过程中遇到“no acceptable C compiler found in $PATH”的错误,是因为缺少开发工具包,需要安装`development tools`,包括`gcc`等编译器。 6. 完成安装:`make`,然后`make install` 接下来,初始化...

    rsh软件(LoadRunner监控Linux)

    2. configure: error: no acceptable C compiler found in $PATH 原因:未安装gcc编译器. 在命令行里敲入gcc –v, 如果提示command not found 就表示你的系统里没有安装gcc编译器 解决办法:yum install gcc ...

    在linux上安装lamp

    - 如果出现 “no acceptable C compiler found in $Path” 的错误,可通过 `yum install gcc` 命令安装GCC。 - **PCRE库问题** - 若提示 “pcre-config for libpcre not found”,则需下载并安装PCRE库至 `/usr/...

    memcache安装

    在此过程中可能会遇到`no acceptable c compiler found in $PATH`的问题,这通常是由于系统未安装GCC导致的。可以通过以下命令解决: ```bash # 安装 GCC yum install gcc* make* # 检查 libevent 是否已成功...

    Linux下安装Python3.6及避坑指南

    1. **错误:configure: error: no acceptable C compiler found in $PATH** 缺少GCC编译环境。安装GCC即可: ```bash yum install -y gcc ``` 2. **错误:zipimport.ZipImportError: can't decompress data*...

    Linux下安装lrzsz_docx1

    如果出现错误提示`configure: error: no acceptable cc found in $PATH`,这意味着系统中没有找到合适的C编译器。在这种情况下,需要安装GCC。 5. **安装GCC**:在CentOS或RHEL等系统中,可以使用`yum install gcc`...

    linux云主机安装pdo详细教程

    7. 如果在执行上一步骤时遇到`configure: error: no acceptable C compiler found in $PATH`的错误,说明需要安装GCC编译器。执行以下命令安装GCC: ``` yum -y install gcc ``` 如果安装GCC时出现依赖问题,如...

Global site tag (gtag.js) - Google Analytics