在Ubuntu 17.04上安装R 3.3.3:由于pcre导致的另一个配置错误

时间:2017-04-15 15:42:40

标签: r ubuntu pcre

下载R源并运行./configure会导致

checking whether PCRE support suffices... configure: error: pcre >= 8.10 library and headers are required

但是sudo apt-get install libpcre3 libpcre3-dev给了我

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.

1 个答案:

答案 0 :(得分:1)

我的问题是,当我从源安装pcre时,我没有启用UTF-8支持。步骤9C this post将其清除。 The post是我在Linux上安装R的最佳指南,但是使用ssl编译curl仍然很痛苦。