From: Alan W. I. <ir...@be...> - 2002-07-16 22:22:03
|
On Tue, 16 Jul 2002, Alan W. Irwin wrote: > BTW, this fix does not solve the remaining similar problem with installed > -dev tk, but I notice tk.c has the same problem that occurred for tkMain.c; > tk.c calls Tcl_CreateInterp without a prior call to Tcl_FindExecutable. At > that point in the code argv is not available so I have to think a bit about > the appropriate way to put in the required Tcl_FindExecutable call, but I am > sure when I do so the -dev tk problem will be fixed. ntk also does not call Tcl_FindExecutable, but it works fine. So that is not the whole story with my -dev tk problems. However, Tcl_FindExecutable only works if you have the executable on your path (recall I have not bothered with that and was using the full file name for the executable). So I tried putting /usr/local/plplot/bin on my path, and all the -dev tk problems disappeared without having to fiddle with Tcl_FindExecutable in tk.c. I expect most users will have all the plplot executables on their path so I am going to leave this situation as is. So as far as I am concerned everything worked at that point both for the plplot/tmp location and also when installed so that is pretty good verification that the new way of linking libraries and establishing dynamic drivers for xwin, tk, and tkwin is fine which was my principal concern. More comments on your plwidget.tcl changes shortly. Alan |