You are here

Problem installing OpenMx on openSUSE 12.1

3 posts / 0 new
Last post's picture
Joined: 04/01/2012 - 18:13
Problem installing OpenMx on openSUSE 12.1

Hi everybody,

I want to install OpenMx on on openSUSE 12.1 but it doesn't work. The R version is 2.13.2 and I'm not sure if the RKWard (KDE's R graphical front end) may interfere. Could you help me please?


Miquel Bosch

R's code output:

> source('')
1. single-threaded
2. multi-threaded [default]
Installing package(s) into ‘/home/miquel/R/i586-suse-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
trying URL ''
Content type 'application/x-gzip' length 7213840 bytes (6.9 Mb)

opened URL

downloaded 6.9 Mb

  • installing source package ‘OpenMx’ ...
    configure: loading site script /usr/share/site/i686-pc-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    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 for gcc option to support OpenMP... -fopenmp
    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
    checking for gawk... gawk
    checking for inst/npsol/linux/x86/gcc4.6/libnpsol.a... yes
    configure: creating ./config.status
    config.status: creating src/Makevars
    config.status: executing src/omxSymbolTable.h commands
    config.status: executing src/omxSymbolTable.c commands
    ** libs
    Warning: R include directory is empty -- perhaps need to install R-devel.rpm or similar
    gcc -std=gnu99 -I/usr/lib/R/include -I/usr/local/include -Wall -fopenmp -fpic -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c merge.c -o merge.o
    gcc -std=gnu99 -I/usr/lib/R/include -I/usr/local/include -Wall -fopenmp -fpic -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c npsolWrap.c -o npsolWrap.o
    npsolWrap.c:17:15: fatal error: R.h: El fitxer o directori no existeix
    compilation terminated.
    make: *** [npsolWrap.o] Error 1
    ERROR: compilation failed for package ‘OpenMx’
  • removing ‘/home/miquel/R/i586-suse-linux-gnu-library/2.13/OpenMx’

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

mspiegel's picture
Joined: 07/31/2009 - 15:24
I think that R.h is not

I think that R.h is not present in your /usr/lib/R/include directory. Could you check whether the standalone R interpreter is installed on your system? If it is installed, then we need to figure out why /usr/lib/R/include is missing. Maybe you need to install the R-base-devel package?'s picture
Joined: 04/01/2012 - 18:13
Now it works, thank you!

You were right R-base-devel was missing! Also I have to install the gcc-fortran package to run the installation without errors. Now is time to learn how to use OpenMx and SEM :)

Thank you very much!

Log in or register to post comments