[tcljava-user] TclBlend build problems using MSYS on WinNT
Brought to you by:
mdejong
|
From: <rja...@nm...> - 2003-04-08 18:45:20
|
On a WINNT box,
Using MSYS, I built tcl8.4.2, tk8.4.2, and threads-2.5.1.
I installed JDK 1.3.1_07 in C:/jdk1.3.1_07 and added
<jdk>/bin, <jdk>/jre/bin, and <jdk>/jre/bin/classic to my
PATH.
So far, so good.
BUT...
./configure --prefix=C:/TclBlend --with-tcl=C:/TclBlend/tcl8.4.2/win
--with-thread=C:/TclBlend/thread-2.5/win --with-jdk=C:/jdk1.3.1_07
died with:
configure:4517: checking to see if we can link a JNI application
configure:4552: gcc -o conftest.exe -g -O2 -I/c/jdk1.3.1_07/include
-I/c/jdk1.3.1_07/include/win32 conftest.c /c/jdk1.3.1_07/lib/jvm.lib >&5
C:\TEMP/ccinaaaa.o: In function `main':
c:/TclBlend/tclBlend1.3.0/configure:4547: undefined reference to
`_imp__JNI_GetCreatedJavaVMs@12'
configure:4555: $? = 1
configure: failed program was:
| #line 4533 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| #include <jni.h>
|
| int
| main ()
| {
| JNI_GetCreatedJavaVMs(NULL,0,NULL);
| ;
| return 0;
| }
configure:4570: 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.
Is there some more magic I need to do with my PATH or other environment
variables?
Any suggestions are appreciated.
Bob Jackson
|