On Sun, 7 Nov 1999, Angelica Ahuactzin Larios wrote:
Did you compile Tcl 8.0.5 with the same debug setting as Tcl Blend?
It looks like Tcl Blend is looking for a non-debug version of Tcl.
Here are the needed steps.
cd tcl8.0.5\win
#EDIT makefile.vc to the proper paths and debug settings
nmake -f makefile.vc
cd jacl1.2.4\win
#EDIT makefile.vc to the proper paths and debug settings
nmake -f makefile.vc
#Then test jacl out like so
nmake -f makefile.vc shell
#Install it like so
nmake -f makefile.vc install
If you are still having problems compiling you could try the
patch file that I have attached to this email.
> Hi
> I want to install jacl and Tclblend1.2.5 but I have an error
> when I want nmake -f makefile.vc shell in TclBlend
>
> Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> cd C:\tclblend1.2.5\win
> set TCLLIBPATH={C:\tclblend1.2.5\win}
> set JAVA=C:\jdk1.1.8\bin\java
> set BUILD_DIR=C:\tclblend1.2.5\win
> set CLASSPATH=C:\tclblend1.2.5\win\tests;C:\tclblend1.
> 2.5\win\tclblend.jar;C:\tclblend1.2.5\win\tcljava.jar;C:\jdk1.1.8\lib\c
> lasses.zip;.
> set PATH=C:\tclblend1.2.5\win;;C:\WINDOWS;C:\WINDOWS\COMMAND;C:
> \JDK1.1.8\BIN;C:\JDK1.1.8\LIB;C:\UNIX\BIN;C:\CSLU\TCL80\BIN;C:\CSLU\TCL80\LIB;C:
>
> \USERS\ANGELICA;C:\CSLU\FESTIVAL\1.3.1\BIN;C:\EMACS20.3.1\BIN;C:\CSLU\TCL80\LIB\
>
> TCLODBC2.1
> ..\..\tcl8.0.5\win\Release\tclsh80.exe
There is no tcl8.0.5\win\Release\tclsh80.exe file. You debug settings
for Tcl Blend do not match those for Tcl (meaning a win\Debug directory
is in the Tcl dir instead of win\Release)
I hope that helps
Mo DeJong
> NMAKE : fatal error U1081: '..\..\tcl8.0.5\win\Release\tclsh80.exe' :
> program not found
> Stop.
> Exit 2
Index: src/native/java.h
===================================================================
RCS file: /cvsroot/tcljava/src/native/java.h,v
retrieving revision 1.3
diff -u -r1.3 java.h
--- java.h 1999/11/01 18:31:32 1.3
+++ java.h 1999/11/05 04:19:42
@@ -174,9 +174,9 @@
#if (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION == 0)
-TCLBLEND_EXTERN void Tcl_SaveResult(Tcl_Interp *interp,
+void Tcl_SaveResult(Tcl_Interp *interp,
Tcl_SavedResult *statePtr);
-TCLBLEND_EXTERN void Tcl_RestoreResult(Tcl_Interp *interp,
+void Tcl_RestoreResult(Tcl_Interp *interp,
Tcl_SavedResult *statePtr);
#endif
@@ -208,7 +208,6 @@
* Declarations for exported functions.
*/
-/*EXTERN EXPORT(int,Tclblend_Init) _ANSI_ARGS_((Tcl_Interp *interp));*/
TCLBLEND_EXTERN int Tclblend_Init _ANSI_ARGS_((Tcl_Interp *interp));
#endif /* _JAVA */
Index: src/native/tclResult.c
===================================================================
RCS file: /cvsroot/tcljava/src/native/tclResult.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 tclResult.c
--- tclResult.c 1998/10/14 21:09:18 1.1.1.1
+++ tclResult.c 1999/11/05 04:19:42
@@ -14,6 +14,8 @@
#include "java.h"
#include "tclInt.h"
+#if (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION == 0)
+
/*
*----------------------------------------------------------------------
@@ -39,7 +41,7 @@
*----------------------------------------------------------------------
*/
-TCLBLEND_EXTERN void
+void
Tcl_SaveResult(interp, statePtr)
Tcl_Interp *interp; /* Interpreter to save. */
Tcl_SavedResult *statePtr; /* Pointer to state structure. */
@@ -112,7 +114,7 @@
*----------------------------------------------------------------------
*/
-TCLBLEND_EXTERN void
+void
Tcl_RestoreResult(interp, statePtr)
Tcl_Interp* interp; /* Interpreter being restored. */
Tcl_SavedResult *statePtr; /* State returned by Tcl_SaveResult. */
@@ -199,4 +201,5 @@
}
}
+#endif /* (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION == 0) */
Index: win/makefile.vc
===================================================================
RCS file: /cvsroot/tcljava/win/makefile.vc,v
retrieving revision 1.21
diff -u -r1.21 makefile.vc
--- makefile.vc 1999/10/29 01:46:19 1.21
+++ makefile.vc 1999/11/05 04:19:52
@@ -40,10 +40,10 @@
#Tcl version info needed by the rest of the scripts
-#TCL_DOTVERSION = 8.2.1
-TCL_DOTVERSION = 8.0.5
-#TCL_VERSION = 82
-TCL_VERSION = 80
+TCL_DOTVERSION = 8.2.1
+#TCL_DOTVERSION = 8.0.5
+TCL_VERSION = 82
+#TCL_VERSION = 80
# If you are compiling from the Tcl Blast 8.0.3 cd, then uncomment these lines
@@ -630,11 +630,11 @@
tcl.lang.Util
-cc32 = $(TOOLS32)\bin\cl.exe
-link32 = $(TOOLS32)\bin\link.exe
-include32 = -I$(TOOLS32)\include
+cc32 = "$(TOOLS32)\bin\cl.exe"
+link32 = "$(TOOLS32)\bin\link.exe"
+include32 = -I"$(TOOLS32)\include"
-INCLUDES = -I$(TCL_DIR)\include -I$(TCL_SRC)\generic -I$(WIN_DIR) \
+INCLUDES = -I$(TCL_SRC)\generic -I$(WIN_DIR) \
-I$(NATIVE_SRC_DIR) -I$(JAVA_DIR)\include
-I$(JAVA_DIR)\include\win32
DEFINES = $(DEBUGDEFINES) -DWIN32 -D_WIN32 -D_MT -D_DLL