报错:

libtool: line 1125: g++: command not found

 搜索

# yum search "gcc-c++"
已加载插件:fastestmirror, langpacks
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * epel: mirrors.ustc.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
============================= N/S matched: gcc-c++ =============================
avr-gcc-c++.x86_64 : Cross Compiling GNU GCC targeted at avr
gcc-c++.x86_64 : C++ support for GCC

安装:

yum -y install "gcc-c++.x86_64"