I am trying to install OpenMx under R 3.0.2 on Linux (Ubuntu) but without success and get the following error message, could you please help me understand what is the problem?
Have tried to run it both as root and as an ordinary user. With the same results during the build process.
The config.log file from the configure build script is attached.
Below you find the output from when I try to download, build and install OpenMx and if I run the configure script manually ( ./configure) the build process will result in the same error.
sysadmin@cpf-calc1:/var/run$ sudo -i R
[sudo] password for sysadmin:
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
2. multi-threaded [default]
Which version of OpenMx should I install? 2
Installing package into â/usr/local/lib/R/site-libraryâ
(as âlibâ is unspecified)
trying URL 'http://openmx.psyc.virginia.edu/packages/src/contrib/OpenMx _1.3.2-2301.tar.gz'
Content type 'application/x-gzip' length 7964596 bytes (7.6 Mb)
downloaded 7.6 Mb
- installing source package âOpenMxâ ...
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in
/tmp/Rtmp5xOVsd/R.INSTALL7aeb1d265969/OpenMx':config.log' for more details
configure: error: C compiler cannot create executables
ERROR: configuration failed for package âOpenMxâ
- removing â/usr/local/lib/R/site-library/OpenMxâ
The downloaded source packages are in
In install.packages(pkgs = c("OpenMx"), repos = repos) :
installation of package âOpenMxâ had non-zero exit status
root@cpf-calc1:/tmp/RtmpqzJVRD/downloaded_packages/OpenMx# cat /etc/issue
Ubuntu 12.04.4 LTS \n \l