天天看點

安裝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