On Wed, 14 Apr 1999, Ray Johnson wrote: > >In case anyone was wondering I just tried to get Tcl Blend working under > >Tcl 8.1b3. There were some API changes so Tcl Blend does not compile out > >of the box. That does not really matter as Tcl Blend will just core > >dump even after making all the API changes needed to get it to compile. > >The good news is that it no longer core dumps in the > >"package require java" (Yeah). Of course, the bad news is that it > >will core dump when a java::* method is called. So if you are planning > >on using Tcl Blend with Tcl 8.1 it looks like it will still be a little > >while before that is going to work. During the alpha versions functions like Tcl_ObjGetVar2 were replaced by Tcl_GetObjVar2 and later it was renamed to Tcl_GetVar2Ex. For example I had to put in a test like this in src/native/javaInterp.c. #if (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION == 0) /* Tcl 8.0 */ resultPtr = Tcl_ObjSetVar2(interp, part1Ptr, part2Ptr, valuePtr, flags); #else /* it is Tcl 8.1 or above */ resultPtr = Tcl_SetObjVar2(interp, Tcl_GetStringFromObj(part1Ptr, (int *) NULL), Tcl_GetStringFromObj(part2Ptr, (int *) NULL), valuePtr, flags); #endif /* Tcl 8.0 */ But now it seems like the old API has been re-introduced so it might be better just to go back to the old way of doing things. The other nasty problem is a bug in the configure script that writes out Tcl's tclConfig.sh file. The TCL_LD_SEARCH_FLAGS variable is being written like this on a sun compiled with cc and using ld. TCL_LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' This will not link because the linker does not understand the -Wl, argument. The correct way is like this. TCL_LD_SEARCH_FLAGS='-R,${LIB_RUNTIME_DIR}' later mo > What were the API changes that were different between 8.0 & 8.1 that > effected Tcl Blend? > > Ray > > > Ray Johnson > Engineering Manager tel: 650-210-0104 > Scriptics Corporation email: [EMAIL PROTECTED] > > The Tcl Platform Company ---------------------------------------------------------------- The TclJava mailing list is sponsored by WebNet Technologies. To subscribe: send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the subject. To unsubscribe: send mail to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the subject. To send to the list, send email to '[EMAIL PROTECTED]'. A list archive is at: http://www.findmail.com/listsaver/tcldallas/