On 2013-07-03, at 3:24 PM, Kevin Walzer <k...@codebykevin.com> wrote: > On 7/3/13 4:58 PM, Kevin Walzer wrote: >> On 7/3/13 4:42 PM, Konovalov, Vadim (Vadim)** CTR ** wrote: > >> Hmm. I thought it was Tkx returning the error, but it wasn't 100% clear. >> Do you have another suggestion as to where I should file a bug? > > > I think I've found the issue: a misconfigured pkgIndex.tcl in my Tk > installation that identifies the version as 8.5.12. Changing this to 8.5.13 > alleviates the problem, and my Tkx sample app now runs.
This makes sense that you can still have a Tk runtime library that is inconsistent with the library when building with so many environments around. I just wanted to restart that Perl/Tkx leverages exclusively Tcl at the C level, and then requires that the Tk library be dynamically available (and self-consistent) that can be loaded in. In ActivePerl, we wrap this into a single stardll (starkit-as-dll), but that's just for encapsulation purposes. Jeff > I ran across the suggested fix here: > > http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-12/msg00198.html > > This is not surprising: as I do a lot of Tk core development, my working > installation of Tk is often not 100% "clean" but instead is rebuilt piecemeal > from incremental changes that I make and patches I commit. I suspect a clean, > fresh build of Tk would not display these issues. > > What's especially curious is that my Tcl/Tk scripts don't show this issue! No > wonder I couldn't figure it out. Perhaps it has something to do with the fact > that I run my Tcl/Tk scripts from the Wish application rather than the Tcl > interpreter with a "package require Tk" invocation. > > Anyway, sorry for the noise, but I thought it would be especially helpful to > get this fix documented for posterity: I've seen a few other reports of the > behavior in scattered forums and no other fix has ever been proposed. What's > the big relief for me is that I can proceed with some Perl/Tkx apps in a > production context. > > Thanks to all, > Kevin > > > -- > Kevin Walzer > Code by Kevin/Mobile Code by Kevin > http://www.codebykevin.com > http://www.wtmobilesoftware.com