[R] JRI problem on 64bit Linux
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Jul 13 07:34:55 CEST 2007
Our experience (and that of several others) is that you need Java 1.6 on
x86_64 Linux for any of the JNI-using R packages to work correctly. E.g.
the CRAN check machine is using 1.6.
On Thu, 12 Jul 2007, chuckanut wrote:
> Sorry if this isn't the correct list, but I couldn't find any mailing
> lists on the JRI site.
Please see the posting guide: that asks you to ask the maintainer (who
knows about the problems).
> I am able to install JRI on a 32 bin linux
> machine without any problem, but I am unable to isntall on a 64 bit
> machine. I have R installed with the correct option, R_HOME is set up
> and libR.so is in there. However, I get the following error when
> running "./configure", any help is appreciated
You need to read config.log: we can't read it for you as it is on your
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> 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 ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for java... /usr/java/jdk1.5.0_11/bin/java
> checking for javac... /usr/java/jdk1.5.0_11/bin/javac
> checking for javah... /usr/java/jdk1.5.0_11/bin/javah
> checking for jar... /usr/java/jdk1.5.0_11/bin/jar
> checking whether Java interpreter works... yes
> checking for Java environment... in /usr/java/jdk1.5.0_11
> checking for /usr/java/jdk1.5.0_11/include/jni.h... yes
> checking for /usr/java/jdk1.5.0_11/include/./jni_md.h... no
> checking for /usr/java/jdk1.5.0_11/include/linux/jni_md.h... yes
> checking whether JNI programs can be compiled... configure: error:
> Cannot compile a simple JNI program. See config.log for details.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help