From: Geoffrey F. <fu...@ga...> - 2002-11-07 16:16:09
|
Geoffrey Furnish writes: > But, the Tk driver only works if I build against an old Tcl/Tk. cvs > head's Tk driver does not work when built against Tcl/Tk 8.4.1. If > you type x01c, tk, it just hangs. If you try to run plserver > directly, it exits immediately with error code 1. > [...] > With cvs head built against Tcl/Tk 8.3.3, ./plserver pops up a top > level and gives you a prompt. > > So, something is wrong with that. Grrrr. I was able, with lots of recompiling the universe, to get as far as stepping through plserver, to find that the source of the trouble is that the call to Itcl_Init in tkMain.c, fails, which causes plserver to exit straight away. I cannot see why this fails. But for whatever reason, Itcl 3.2.1, appears to be incompatible with Tcl 8.4.1. I tried to debug inside the Itcl_Init call, but alas, the itcl 3.2.1 configure script emits a bogus makefile if you configure --enable-symbols, and so you can't build a debuggable itcl 3.2.1. I guess one could hack the makefile after configuring, but I'm getting winded after all this skulldugery. Vince, you reported success with Tcl/Tk 8.4.1. Was that with Itcl/Itk, or not? If so, what itcl are you using? There has been no Itcl release since the release of Tcl/Tk 8.4.1. I should add, if you build Itcl/Itk 3.2.1 against Tcl/Tk 8.4.1, you /can/ get an itk wish, just by going into tclsh and saying package require Itk. So that works fine. But the tkMain.c call to Itcl_Init, fails, but it worked with itcl 3.2.1 built against Tcl/Tk 8.3.x. -- Geoffrey Furnish fu...@ga... |