Problem on installing openMX on arch

i tried to install openmx with
source('http://openmx.psyc.virginia.edu/getOpenMx.R')
but i get this errormessage on my r-terminal:
> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
1. single-threaded
2. multi-threaded [default]
Installing package(s) into ‘/home/martin/.rkward/library’
(as ‘lib’ is unspecified)
versuche URL 'http://openmx.psyc.virginia.edu/packages/src/contrib/OpenMx_1.3.1-2179.tar.gz'
Content type 'application/x-gzip' length 7267970 bytes (6.9 Mb)
URL geöffnet
==================================================
downloaded 6.9 Mb
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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if gcc accepts -dumpversion option... yes
checking gcc version... 4.7.2
checking for gawk... gawk
checking for inst/npsol/linux/x86_64/gcc4.7/libnpsol.a... no
The downloaded source packages are in
‘/tmp/RtmpsI4Ocv/downloaded_packages’
Warnmeldung:
In install.packages(pkgs = c("OpenMx"), repos = repos) :
installation of package ‘OpenMx’ had non-zero exit status
>
what's wrong?
Would you mind testing the
Would you mind testing the npsol library with gcc 4.7 on a 64-bit architecture? You'll need to build OpenMx from source. The directions on testing npsol are from this thread (http://openmx.psyc.virginia.edu/thread/1674), just replace all the references to "x86" with "x86_64". Thanks!
Log in or register to post comments
In reply to Would you mind testing the by mspiegel
How do I do that exactly? I
How do I do that exactly? I would like to help you, but I dońt know what to do exactly....
Log in or register to post comments
In reply to Would you mind testing the by mspiegel
Hi! I did a checkout of the
Hi!
I did a checkout of the newest OpenMx version and tried to build it from source. "make test" gives this output:
[martin@archstation trunk]$ make test
R --vanilla --slave --cpus=1 < inst/tools/testModels.R
/usr/local/lib/R/bin/exec/R: error while loading shared libraries: libicuuc.so.49: cannot open shared object file: No such file or directory
make: *** [test] Fehler 127
...but I have icu 5.10-2 already installed from the arch repositories.
Martin
Log in or register to post comments
In reply to Hi! I did a checkout of the by airmax90
You might need to set your
You might need to set your $LD_LIBRARY_PATH? I'm not sure, I don't have any experience with icu (what is icu?).
Log in or register to post comments
In reply to You might need to set your by mspiegel
I can't fix it :-( Could you
I can't fix it :-( Could you please tell me how to update my librarypath correctly?
Here ist the Output from configure
http://hpaste.org/78111
Thanks!
Log in or register to post comments
If you do not want to compile
If you do not want to compile it from source, you may try:
1. Download the compressed file, say http://openmx.psyc.virginia.edu/packages/src/contrib/OpenMx_1.3.1-2179.tar.gz
2. Uncompress it into a directory, say OpenMx.
3. Make a copy of the folder gcc4.7 from gcc4.6 from /OpenMx/inst/npsol/linux/x86_64
4. Compress OpenMx to OpenMx.tar.gz
5. R CMD INSTALL OpenMx.tar.gz
Log in or register to post comments
In reply to If you do not want to compile by Mike Cheung
Everything went fine! Thanks
Everything went fine! Thanks Mike!
I copied the gcc4.6 to gcc4.7 and compressed the file. Then I did a R CMD INSTALL OpenMx.tar.gz -l "mylibrary" and it worked fine.
Here is the Output from the installation.:
http://pastebin.com/mDCBLFgN
Log in or register to post comments
I tried to load OpenMx in R,
I tried to load OpenMx in R, as OpenMx appears in the installed packages, but i get this errormessage:
package ‘OpenMx’ was built under R version 2.16.0
Error : unable to load R code in package ‘OpenMx’
but my version is R version 2.15.1 (2012-06-22)
..I think I have to wait until arch updates their R packages :-)
Log in or register to post comments