且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安装 pcre-8.1.0 出现错误

更新时间:2022-09-30 18:40:11

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

问题解决


本文转自   tianshuai369   51CTO博客,原文链接:http://blog.51cto.com/songqinglong/1718242