You are here

problem in installing openmx with R-2.11.0 on ArchLinux

6 posts / 0 new
Last post
aalex's picture
Offline
Joined: 06/14/2010 - 04:20
problem in installing openmx with R-2.11.0 on ArchLinux

Hi, I have a problem in installing OpenMX with R-2.11.0 and gcc 4.5.0 20100610 (prerelease) on ArchLinux with i686 architecture. The compilation interrupts because of the npsol library missing:

> source('https://openmx.ssri.psu.edu/getOpenMx.R')
Warning in install.packages(pkgs = c("OpenMx"), repos = repos) :
argument 'lib' is missing: using '/home/ale/R/i686-pc-linux-gnu-library/2.11'
provo con l'URL 'https://openmx.ssri.psu.edu/packages/src/contrib/OpenMx_0.3.3-1264.tar.gz'
Content type 'application/x-gzip' length 4428843 bytes (4.2 Mb)

URL aperto

downloaded 4.2 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.5.0
    checking for gawk... gawk
    checking for inst/npsol/linux/x86/gcc4.5/libnpsol.a... no
    configure: error: npsol library not found
    ERROR: configuration failed for package ‘OpenMx’
  • removing ‘/home/ale/R/i686-pc-linux-gnu-library/2.11/OpenMx’

The downloaded packages are in
‘/tmp/RtmpRmRMyv/downloaded_packages’
Warning message:
In install.packages(pkgs = c("OpenMx"), repos = repos) :
installation of package 'OpenMx' had non-zero exit status
>

The same problem came also with the installation from svn.

How can I do?

Many thanks,
Ale

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
Ah. We have the rights to

Ah. We have the rights to distribute the npsol binary, but not the source code. The OpenMx library includes versions of npsol compiled for each major revision of gcc. We haven't compiled npsol yet using the gcc 4.5 series. Any chance you could use a gcc 4.4.x compiler on that machine?

aalex's picture
Offline
Joined: 06/14/2010 - 04:20
Great! I have downgraded gcc

Great! I have downgraded gcc to version 4.4.4 and successfully installed OpenMx!

Many thanks,
Ale

szylkrecik's picture
Offline
Joined: 10/28/2010 - 19:18
mspiegel, I have the same

mspiegel, I have the same problem as aalex, and it is very complicated to downgrade gcc on my machine. Any chance to get OpenMx appropriate for gcc 4.5.1?

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
Try the following. Download

Try the following. Download the OpenMx source code using the directions from http://openmx.psyc.virginia.edu/wiki/howto-build-openmx-source-repository. Then create a directory in trunk\inst\npsol\linux\x86\gcc4.5 and then copy the contents from trunk\inst\npsol\linux\x86\gcc4.4 into this directory. Run "make install test" in the trunk directory and look for 0 errors reported.

szylkrecik's picture
Offline
Joined: 10/28/2010 - 19:18
Number of errors: 0 Finished


Number of errors: 0
Finished testing models.

Thank you.