configure: error: You need a C++ compiler for C++ support.

 

安装pcre包的时候提示缺少c++编译器

报错信息如下:

configure: error: You need a C++ compiler for C++ support.

解决办法,使用yum安装:
 
yum -y install gcc-c++  

 

 
posted on 2018-02-07 20:07  坚守梦想  阅读(3269)  评论(0编辑  收藏  举报