gcc4.6 and libnpsol.a and Ubuntu 11.10 - How Can I Get OpenMx to Install?

R version 2.13.1 (2011-07-08)
> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'http://openmx.psyc.virginia.edu/packages/src/contrib/OpenMx_1.1.1-1785.tar.gz'
Content type 'application/x-gzip' length 6362441 bytes (6.1 Mb)
opened URL
==================================================
downloaded 6.1 Mb
* installing *source* package ‘OpenMx’ ...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc is installed... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if gcc accepts -dumpversion option... yes
checking gcc version... 4.6.1
checking for gawk... no
checking for mawk... mawk
checking for inst/npsol/linux/x86/gcc4.6/libnpsol.a... no
configure: error: npsol library not found
ERROR: configuration failed for package ‘OpenMx’
* removing ‘/usr/local/lib/R/site-library/OpenMx’
The downloaded packages are in
‘/tmp/Rtmpjozqiw/downloaded_packages’
Warning message:
In install.packages(pkgs = c("OpenMx"), repos = repos) :
installation of package 'OpenMx' had non-zero exit status
Found libnposl.a - but where should it go?
I cannot find the appropriate directory to install libnpsol.a.
Any ideas?
Log in or register to post comments
In reply to Found libnposl.a - but where should it go? by rabil
What I did in Fedora was: 1.
1. Download OpenMx and unzip it into a directory
2. Create a directory named "gcc4.6" inside /inst/npsol/linux/x86/ for 32 bit or /inst/npsol/linux/x86_64 for 64 bit linux
3. Copy libnpsol.a from gcc4.4 to gcc4.6
4. Zip the whole OpenMx directory and then install it
Log in or register to post comments
I made the change in the svn
Log in or register to post comments
In reply to I made the change in the svn by mspiegel
Thanks!
Log in or register to post comments
In reply to Thanks! by rabil
This should be fixed in
Log in or register to post comments