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

 

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值