我正在尝试在 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
根据我在网上找到的关于这个问题的一些参考资料。
有什么建议么?
我和你有同样的问题,下面的命令救了我!
yum install pcre pcre-devel
我确信你的系统中安装了 pcre,但 R 似乎需要 pcre-devel 版本!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)