Next, reload the environment file to bring in the new PATH variable: Now edit the /etc/environment file using nano editor: sudo nano /etc/environmentĪdd the following line: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/ssl/bin" Next, reload the dynamic link by issuing the command below: sudo ldconfig -v Paste the OpenSSL library path directory: /usr/local/ssl/lib Once OpenSSL is installed, it is prudent to link the shared libraries for it so that they load at runtime: cd /etc/ld.so.conf.d/ config -prefix=/usr/local/ssl -openssldir=/usr/local/ssl shared zlib Then, we configure and compile OpenSSL: sudo. * removing ‘/home/sgmiriuka/R/x86_64-pc-linux-gnu-library/3.Now we download the source code OpenSSL from the official page: cd /usr/local/src/ usr/lib/R/etc/Makeconf:159: recipe for target 'base64.o' failedĮRROR: compilation failed for package ‘jsonlite’ Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iyajl/api -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c base64.c -o base64.o ** package ‘jsonlite’ successfully unpacked and MD5 sums checked * installing *source* package ‘jsonlite’. Installation of package ‘digest’ had non-zero exit status * removing ‘/home/sgmiriuka/R/x86_64-pc-linux-gnu-library/3.4/digest’ usr/lib/R/etc/Makeconf:159: recipe for target 'aes.o' failedĮRROR: compilation failed for package ‘digest’ Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c aes.c -o aes.o ** package ‘digest’ successfully unpacked and MD5 sums checked Installation of package ‘openssl’ had non-zero exit status * removing ‘/home/sgmiriuka/R/x86_64-pc-linux-gnu-library/3.4/openssl’ If pkg-configĮRROR: configuration failed for package ‘openssl’ PATH and PKG_CONFIG_PATH contains a openssl.pc file. If openssl is already installed, check that 'pkg-config' is in your * rpm: openssl-devel (Fedora, CentOS, RHEL) ** package ‘openssl’ successfully unpacked and MD5 sums checkedĬonfiguration failed because openssl was not found. Installation of package ‘curl’ had non-zero exit status * removing ‘/home/sgmiriuka/R/x86_64-pc-linux-gnu-library/3.4/curl’ LIB_DIR=.'ĮRROR: configuration failed for package ‘curl’ R CMD INSTALL -configure-vars='INCLUDE_DIR=. Is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If libcurl is already installed, check that 'pkg-config' is in your * rpm: libcurl-devel (Fedora, CentOS, RHEL) * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc) ANTICONF ERROR -Ĭonfiguration failed because libcurl was not found. ** package ‘curl’ successfully unpacked and MD5 sums checked Installation of package ‘mime’ had non-zero exit status * removing ‘/home/sgmiriuka/R/x86_64-pc-linux-gnu-library/3.4/mime’ usr/lib/R/etc/Makeconf:159: recipe for target 'rawmatch.o' failedĮRROR: compilation failed for package ‘mime’ Gcc: error: unrecognized command line option ‘-Wdate-time’ Gcc: error: unrecognized command line option ‘-fstack-protector-strong’ Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c rawmatch.c -o rawmatch.o ** package ‘mime’ successfully unpacked and MD5 sums checked I understand that it can't find them, but no idea why No idea why I get so many error when trying to install dependencies, which in fact I installed. No problems in OSX, but not sure why I can't get anywhere in Ubuntu. I am having many troubles installing devtools in R (Ubuntu 16-04).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |