天天看点

安装 pcre-8.1.0 出现错误

在安装 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 

问题解决

本文转自 菜鸟的征程 51CTO博客,原文链接:http://blog.51cto.com/songqinglong/1718242

继续阅读