编译安装PCRE时出错

错误提示:
libtool: compile: unrecognized option `-DHAVE_CONFIG_H'

libtool: compile: Try `libtool --help' for more information.
make[1]: *** [pcrecpp.lo] Error 1
make[1]: Leaving directory `/usr/local/pcre-8.31'
make: *** [all] Error 2

解决方法:
# yum -y install gcc-c++

 

你可能感兴趣的:(pcre)