linux - compiling R 3.3.1 -
i trying install r-3.3.1
on rhel6 box on not have su
permissions. unfortunately machine has older versions of zlib
, bzip2
, readline, xz
, pcre
, curl
. not have access yum repo
nor admins this. so, have compiled libraries , installed them in
<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
when run ldd
on .so files, not missing libraries. minor issue
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) <== not point version 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)
although have set cppflags
, ldflags
, libs
, , compiling --with-zlib=<zlib dir>
.
now when run ./configure --without-x
after setting cppflags
, ldflags
above versions of libraries used, following error.
checking libcurl version ... 7.19.7 checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking curl/curl.h... yes checking if libcurl version 7 , >= 7.28.0... yes checking if libcurl supports https... no configure: error: libcurl >= 7.28.0 library , headers required support https
is there way of getting r
compile without support https
?
there disconnect between saying have
curl-7.48.0
and configure output
checking libcurl version ... 7.19.7
you may need try override auto-detection used configure
have find version of curl. there switches, listens environment variables, possibly create local ~/lib/
, have ld.conf
aware of it. configure
/ autoconf
question , less of r issue.
Comments
Post a Comment