【发布时间】:2016-07-27 04:45:48
【问题描述】:
我正在尝试在 Ubuntu 14.04 下编译 R 3.3.1。尽管尝试安装 ubuntu pcre3 软件包以及(稍后)从源代码安装 pcre-8.37,但当我在 R-3.3.1 中运行 ./configure 时仍然得到以下信息
checking for pcre_fullinfo in -lpcre... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking if PCRE version >= 8.10, < 10.0 and has UTF-8 support... no
checking whether PCRE support suffices... configure: error: pcre >= 8.10 library and headers are required
即使我像这样重建 pcre 也会发生这种情况:
./configure --enable-utf8 --enable-unicode-properties
make
make install
根据我在网上找到的关于这个问题的一些参考资料。
有什么建议吗?
【问题讨论】:
-
您是否尝试过安装库的'-dev'版本
sudo apt install libpcre3-dev? -
是的,我确实尝试过开发版,并没有解决问题。
-
@glossarch
libpecre3-dev解决了我在 Ubuntu 14.04 中的问题。