From: SourceForge.net <no...@so...> - 2004-08-31 23:53:04
|
Bugs item #1019024, was opened at 2004-08-30 22:05 Message generated for change (Comment added) made by wildcard_25 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1019024&group_id=12997 Category: 85. Win Build Group: development: 8.5a2 Status: Open Resolution: Remind Priority: 5 Submitted By: Daniel South (wildcard_25) Assigned to: Mo DeJong (mdejong) Summary: Tests can't find tk.tcl Initial Comment: Tk: v8.5a2 HEAD at 30-08-04 OS: WinXPsp1 Built with makefile.vc using VC7 When running the tests for Tk, from makefile.vc, Wish85.exe fails to load due to it being unable to find tk.tcl. This seems to be due to the changes to the search paths in auto.tcl on 23-08-04. The attached patch adds the missing path to the tk library into makefile.vc using the same format as was used for the tcl library. Error displayed... error dialog title = Error in Wish text = Can't find a usable tk.tcl in the following directories: D:/src_tcl/library/tk8.5 D:/src_tcl/tk8.5 D:/src_tk/win/lib/tk8.5 D:/src_tk/lib/tk8.5 D:/src_tk/win/library This problem means that tk wasn't installed properly. Also included check for old 'MSVCDIR' as per tcl makefile.vc. ---------------------------------------------------------------------- >Comment By: Daniel South (wildcard_25) Date: 2004-09-01 09:53 Message: Logged In: YES user_id=596509 One other point I neglected to mention. Using TK_LIBRARY variable ensures that tests are run against current build library and not another version that tcl_findlibrary may find on its searches. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2004-08-31 23:19 Message: Logged In: YES user_id=80530 good points. re-opened for makefile.vc maintainer to take a look. ---------------------------------------------------------------------- Comment By: Daniel South (wildcard_25) Date: 2004-08-31 17:55 Message: Logged In: YES user_id=596509 Very close to being a duplicate. While adding back a search in the grandparent directory in auto.tcl would correct this as well, after considering that TCL_LIBRARY is set by the makefile in rules.vc and the comments in auto.tcl for tcl_findLibrary give an example of TK_LIBRARY for the envVarName, I thought this would be the more correct way of fixing the error. Also, the TCL_LIBRARY env variable is used as the $(wish) target could not find the tcl source's library even before the modification to the search paths. Going the other way (ie. changing auto.tcl) would re- introduce extra search paths for every instance rather than just for this one. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2004-08-31 03:40 Message: Logged In: YES user_id=80530 I believe this is a duplicate of Tcl Bug 976438. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1019024&group_id=12997 |