【发布时间】:2016-11-29 02:47:06
【问题描述】:
我正在尝试将R-3.3.1 安装在我没有su 权限的RHEL6 机器上。不幸的是,这台机器有旧版本的zlib、bzip2、readline、xz、pcre、curl。我无权访问yum repo,管理员也不会对此提供帮助。所以,我也编译了这些库并将它们安装在
<my home dir>/libs
bzip2-1.0.6
curl-7.48.0
pcre-8.38
readline-6.3
xz-5.2.2
zlib-1.2.8
当我在 .so 文件上运行 ldd 时,我没有得到任何丢失的库。唯一的小问题是
lib> ldd libcurl.so.4.4.0
linux-vdso.so.1 => (0x00007ffec49ff000)
libidn.so.11 => /lib64/libidn.so.11 (0x00007f2371b4b000)
libz.so.1 => /lib64/libz.so.1 (0x00007f2371934000) <== this does not point to the version I have compiled
librt.so.1 => /lib64/librt.so.1 (0x00007f237172c000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2371398000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f237117a000)
/lib64/ld-linux-x86-64.so.2 (0x0000003e79000000)
虽然我设置了CPPFLAGS、LDFLAGS和LIBS,并用--with-zlib=<zlib dir>编译。
现在当我在设置CPPFLAGS 和LDFLAGS 之后运行./configure --without-x 以便使用上述版本的库时,出现以下错误。
checking libcurl version ... 7.19.7
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking if libcurl is version 7 and >= 7.28.0... yes
checking if libcurl supports https... no
configure: error: libcurl >= 7.28.0 library and headers are required with support for https
有没有办法让R 在不支持https 的情况下编译?
【问题讨论】: