You are here

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

6 posts / 0 new
Last post
rabil's picture
Offline
Joined: 01/14/2010 - 16:47
gcc4.6 and libnpsol.a and Ubuntu 11.10 - How Can I Get OpenMx to Install?

I'm running Ubuntu 11.10 on a Dell Inspiron 1545 laptop (Intel). How can I fix this? Thanks for any suggestions. Where can I get libnpsol.a?

R version 2.13.1 (2011-07-08)

> source('https://openmx.ssri.psu.edu/getOpenMx.R')
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://openmx.ssri.psu.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

rabil's picture
Offline
Joined: 01/14/2010 - 16:47
Found libnposl.a - but where should it go?

checking for inst/npsol/linux/x86/gcc4.6/libnpsol.a... no

I cannot find the appropriate directory to install libnpsol.a.

Any ideas?

Mike Cheung's picture
Offline
Joined: 10/08/2009 - 22:37
What I did in Fedora was: 1.

What I did in Fedora was:
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

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
I made the change in the svn

I made the change in the svn repository (see http://openmx.psyc.virginia.edu/wiki/howto-build-openmx-source-repository for compiling from source). It will be reflected in the next binary release in a few days.

rabil's picture
Offline
Joined: 01/14/2010 - 16:47
Thanks!

Thanks. I wasn't looking forward to trying to compile it myself!

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
This should be fixed in

This should be fixed in OpenMx 1.1.2: http://openmx.psyc.virginia.edu/2011/10/openmx-112-released