CentOS之——安装软件时可能的报错及解决办法

前端之家收集整理的这篇文章主要介绍了CentOS之——安装软件时可能的报错及解决办法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

转载请注明出处:http://blog.csdn.net/l1028386804/article/details/79370106

1、出现错误:configure: error: Unable to find a working C++ compiler
需要安装g++编译器:

sudo yum install gcc-c++
2、出现错误:configure: error: cannot link with -luuid,install uuid-dev.
需要安装软件包uuid-devel和libuuid-devel:
sudo yum install uuid-devel
sudo yum install libuuid-devel
3、出现错误:autogen.sh: error: could not find libtool. libtool is required to run autogen.sh.

需要安装libtool:

sudo yum install libtool
可能用到的命令:
yum install -y gcc-c++.x86_64
yum install -y uuid-devel.x86_64
yum install -y libuuid-devel.x86_64
yum install -y libtool.x86_64
yum install -y git.x86_64

猜你在找的CentOS相关文章