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

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

[[email protected] ~/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

 

 

你可能感兴趣的:(compiler)