在安装 pcre-8.30 的时候出现错误,如下:
CCLD libpcreposix.la
CXX pcrecpp.lo
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/softwave/pcre-8.30'
make: *** [all] 错误 2
在网上查询说需要安装或更新gcc-c++ 包。
yum install gcc-c++
CCLD libpcreposix.la
CXX pcrecpp.lo
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/softwave/pcre-8.30'
make: *** [all] 错误 2
在网上查询说需要安装或更新gcc-c++ 包。
yum install gcc-c++