pcre-8.30编译安装出错[pcrecpp.lo] Error 1

来源:互联网 发布:3g网络无法建立长连接 编辑:程序博客网 时间:2024/05/20 02:22

安装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 `/root/apache/pcre-8.30'

make: *** [all] Error 2

解决安装 yum -y install gcc , yum -y install gcc-c++