安装pcre-8.30报错

  1. 安装pcre-8.30出现的报错信息

    [root@SER pcre-8.30]# ./configure --prefix=/usr/local/

    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/Desktop/pcre-8.30'

    make: *** [all] Error 2


  2. [root@SER pcre-8.30]# make clean


  3. [root@SER pcre-8.30]# yum -y install gcc-c++


  4. [root@SER pcre-8.30]# make

      重新再编译问题解决!!!


  5. 若问题依旧,建议重新./configure,在make

你可能感兴趣的:(pcre)