Re: [tcljava-user] problems installing tclBlend on Linux
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2005-10-18 20:39:10
|
On Tue, 18 Oct 2005 15:04:23 -0500 "Cargo, David" <Dav...@Xi...> wrote: > I'm trying to install tclBlend (and therefore tcl and the thread > package) > on the following Linux system: > > Because SUSE had Tcl 8.4.6 installed, I went with Tcl/Tk 8.4.6. The > java JDK > used is the IBMJava2-1.4.2 package from SUSE's repository. Hello David Please use Tcl/Tk 8.4.11, 8.4.6 is very old by now. It does not matter what version of Tcl the system comes with since Tcl Blend depends on Tcl being compiled with thread support anyway. See: http://wiki.tcl.tk/9993 > Using the following JNI include flags -I/usr/lib/java/include > checking to see if jni.h can be included... yes > Using the following JNI library flags -lpthread -L/usr/lib/java/jre/bin > -ljava -L/usr/lib/java/jre/bin/classic -ljvm -lhpi > Using the following runtime library path > /usr/lib/java/jre/bin:/usr/lib/java/jre/bin/classic > checking to see if we can link a JNI application... no > configure: error: could not link file that includes jni.h > Either the configure script does not know how to deal with > this JVM configuration or the JVM install is broken or The Tcl Blend configure script does not know how to find the libs it needs for your JVM layout. See the file tcljava.m4 and the AC_JAVA_JNI_LIBS function. I know it looks scary, but I need you to take a look at the directory layout of JVM files on your system, and add some checks that look for the specific layout to the AC_JAVA_JNI_LIBS method. If you need some help, please post the results of 'find .' run from the root of the JDK dir and I will help you get started. Also note that you will need to run the autogen.sh script after changing the tcljava.m4 to get a new configure script. cheers Mo DeJong |