编译安装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++