[R] JRI problem on 64bit Linux

chuckanut chuckanut at gmail.com
Fri Jul 13 01:04:42 CEST 2007

Sorry if this isn't the correct list, but I couldn't find any mailing
lists on the JRI site.  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

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.

More information about the R-help mailing list