安装检测通过的情况下,如果安装报错,提示缺包
现象
安装检测通过的情况下,如果安装报如下错误:
============================================
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
Install error!
===============================================
原因
说明缺以下两个包:glibc-header和gcc-c++
解决方法
如下安装就可以
yum install glibc-headers
yum install gcc-c++