Centons7 R安装填坑记录

执行命令:./configure --with-readline=no --with-x=no  --prefix=/root/R-3.3.0

坑1:checking whether zlib support suffices... configure: error: zlib library and headers are required

解决方法:yum search zlib

有如下zlib包:


Centons7 R安装填坑记录_第1张图片

选择图中标红的包,使用yum进行安装:

yum -y install zlib-devel.x86_64

坑2: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的包,下载8.3的版本,进行编译安装。

你可能感兴趣的:(Centons7 R安装填坑记录)