Installation error on R 3.1.2 for Linux
I'm attempting to install OpenMx in R 3.1.2 on a machine running Linux Mint 17.1 (a fork of Ubuntu 14.04). After sourcing the "getOpenMx.R" script, R downloads the package, but then hits the following error:
* installing *source* package ‘OpenMx’ ...
Change default C/C++ compiler and default compile flags by editing /usr/lib/R/etc/Makeconf
./configure: line 113: curl: command not found
ERROR: configuration failed for package ‘OpenMx’
* removing ‘~/R/x86_64-pc-linux-gnu-library/3.1/OpenMx’
Warning message:
In install.packages(pkgs = c("OpenMx"), contriburl = contrib.url(repos), :
installation of package ‘OpenMx’ had non-zero exit status
The appropriate lines from the /usr/lib/R/etc/Makeconf file are:
C_VISIBILITY = -fvisibility=hidden
CC = gcc -std=gnu99
CFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g $(LTO)
CPICFLAGS = -fpic
CPPFLAGS =
CXX = g++
CXXCPP = $(CXX) -E
CXXFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g $(LTO)
CXXPICFLAGS = -fpic
CXX1X = g++
CXX1XFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g
CXX1XPICFLAGS = -fpic
CXX1XSTD = -std=c++11
Does anyone have suggestions for how to solve this? Many thanks.
Try installing curl
curl -s -o src/libnpsol.a "$npsol_url"
and the error is complaining about curl. So I'm betting you don't have curl installed. This might help you install curl. http://askubuntu.com/questions/259681/the-program-curl-is-currently-not-installed
Log in or register to post comments
In reply to Try installing curl by mhunter
Success
Log in or register to post comments