`
hansha2
  • 浏览: 35563 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

configure: error: no acceptable C compiler found in $PATH 问题解决

 
阅读更多

在安装storm 依赖包 zeromq 时,报以下的错误

[hel2@l-owl1.plat.qa.bj1 ~/soft/zeromq-2.1.7]$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... no

checking how to create a ustar tar archive... gnutar

checking for gcc... no

checking for cc... no

checking for cl.exe... no

configure: error: in `/home/hel2/soft/zeromq-2.1.7':

configure: error: no acceptable C compiler found in $PATH

 

See `config.log' for more details

 

configure: error: no acceptable C compiler found in $PATH,上网查看了以下,发现是环境里没有安装gcc。

查看的方式: gcc -v

安装方式:yum install gcc

 

从以上日志来看,可能还缺少MAKE,不知道有没有影响。

经过确认是,configure没关系的,但make是做不了的。

需要使用 yum install make 安装

 

configure: error: Unable to find a working C++ compiler

说明是:系统没有安装g++,使用命令yum install gcc-c++安装g++

 

 

configure: error: cannot link with -luuid, install uuid-dev.

按照说明:应该执行

yum install uuid-devel

yum install libuuid-devel

 

安装 storm 的依赖包JZMQ 时,报以下的错误

错误:autogen.sh: error: could not find libtool.  libtool is required to run autogen.sh.

安装:yum install libtool

 

 

分享到:
评论

相关推荐

    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/...

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

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

    rsh软件(LoadRunner监控Linux)

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

    Linux下安装lrzsz_docx1

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

    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云主机安装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