[tcljava-user] tclBlend on Mac OS X
Brought to you by:
mdejong
From: <mv...@co...> - 2009-11-11 20:06:42
|
Hi, I am sorry if my question was previously replied in the list but I didn't find anything... Does TclBlend work on Mac OS X? I tried to install it on a Mac OS X 10.6 following the instructions in the docs/Topics/BuildTclBlendUnix.html file of the tclBlend1.4.1 distribution but I didn't make it. I modified the configure file for looking for the libjava.jnilib (instead of the libjava.so) and it worked. But finally, the configure failed when tried to link a JNI application. I got this message: "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 corrupted." Looking at the config.log file, I saw that the problem is at the gcc call: gcc -o conftest -g -O2 -I/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/include conftest.c -L/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/../Libraries -ljava -lverify -L/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/jre/lib/i386/client -ljvm -L/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/jre/lib/i386/native_threads -lhpi >&5 ld: library not found for -ljava The compilation fails because the jre folder does not exist in the system. Does anyone have idea about how to fix it? Any suggestion would be greatly appreciated! I am working with: tcl 8.5.7 source distribution tclBlend 1.4.1 Thread extension 2.6.5 java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode) Thanks! Victoria |