From: Alan W. I. <ir...@be...> - 2002-10-04 14:16:01
|
On Fri, 4 Oct 2002, Maurice LeBrun wrote: > Alan W. Irwin writes: > > it would be nice to remove this limitation of requiring the PATH to be set > > for -dev tk. > > I got time to look into this, and I positively do not see the problem. > > In the tk driver, the plserver is exec'ed as follows: > plserver_exec = plFindCommand(pls->plserver); > > while plFindCommand() (in plctrl.c) searches for plserver under many different > locations. Including the install dir (BIN_DIR) and ".". I put in some > printf's to see which version it was getting, and then commented out various > parts, and it always got the right one. So I'm stumped.. AFAICT it's working > fine. It's fine now here too. I think there has been a communications glitch so let me clarify. I have forgotten the exact data I mentioned this issue, but it was a while ago, and as best I recall you came back with a change almost immediately which solved this and all other problems I mentioned in that post. I said something like "everything now works" to the list at that point, but I should have been a lot more specific or highlighted it more. From your description now, I think searching just was not working properly at the time for my situation (plplot and tcl installed in different prefixes) so once you fixed searching every issue on my list (including the -dev tk thing) was solved. I hope from now on we can deal with such issues by putting them into (and taking them out of when solved) the plplot/PROBLEMS file. Because the -dev tk issue was solved before I created PROBLEMS, it was not put in there. However, in preparation for the current post I have double-checked everything in PROBLEMS relating to Tcl/tk, and I discovered that the problems I was having with the cmap1 manipulation GUI under plframe have mysteriously disappeared. I say mysteriously because I was quite careful to test that just before I posted PROBLEMS the first time. I may be wrong, but I don't think anything has been changed since. Anyhow, it is well worth keeping an eye on the colour manipulation GUI's for a while for all situations. However, I can no longer replicate it so I removed it from PROBLEMS. I also just double-checked the other tcl/tk problems mentioned in that file, and I still confirm the first page-skipping problem for x08.tcl (if "8" [or any other multipage example] is executed first right after source tkdemos.tcl) and the documented problems with tk02 and tk04. If you have trouble confirming those problems, I can put a lot more detail about them in the PROBLEMS file. Alan |