下载R源之中,并在在Ubuntu 17.04安装[R 3.3.3:另一种配置错误,由于PCRE
checking whether PCRE support suffices... configure: error: pcre >= 8.10 library and headers are required
但sudo apt-get install libpcre3 libpcre3-dev
运行./configure
结果让我
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpcre3 is already the newest version (2:8.39-3).
libpcre3-dev is already the newest version (2:8.39-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
查找您安装的pcre的版本。可能是8.0。错误消息告诉您需要版本8.10或更高版本。 – Bhas
我以为上面的输出说我有8.39。有没有办法检查R正在查找的版本?它可能会看到一个过时的副本。 – landau
我不确定它实际上是8.39。即使[ubuntu-packages](http://packages.ubuntu.com/search?keywords=libpcre)表示14.04,我也有Kubuntu 14.04LTS(在VirtualBox中)并且必须安装pcre 8.38 extra(在/ usr/local中)有8.31。这些数字实际上意味着什么:我不知道。 – Bhas