在安装 pcre-8.1.0 的时候,make 出现错误提示:

 g++: command not found

通过yum 安装 gcc gcc-c++

再次编译,提示如下:

link: See the libtool documentation for more information

make[1]: *** [libpcrecpp.la] 错误 1
make[1]: Leaving directory `/usr/app/pcre-8.10'

解决方法:

    ./configure --disable-shared --with-pic

    make && make install 

问题解决