下載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