`

hadoop2.2安装前64位编译常见错误

阅读更多
CentOS上安装软件错误提示:
configure: error: no acceptable C compiler found in $PATH

        因为是centos linux,默认可以采用yum方式安装,则采用如下命令安装gcc编译器即可:
 yum -y install gcc


在某些软件的时候,运行./configure 会报错,错误提示为:

configure: error: C++ preprocessor “/lib/cpp” fails sanity 
  check See `config.log’ for more details

  解决办法:出现该情况是由于c++编译器的相关package没有安装,以root用户登陆,在终端上执行:
yum install glibc-headers
   yum install gcc-c++
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics