今天在编译pcre-8.30的时候,报错了。

libtool: compile: unrecognized option `-DHAVE_CONFIG_H'
libtool: compile: Try `libtool --help' for more information.
make[1]: *** [pcrecpp.lo] 错误 1
make[1]: Leaving directory `/root/pcre-8.30'
make: *** [all] 错误 2

在网上找了教程.说是少了gcc gcc-c++的系统报造成的。

yum -y  install  gcc  gcc-c++就好了。