Artifacts Associated With Ticket 217800
Ticket change [9c2e5495c2] (rid 111240) by nobody on 2000-10-26 00:43:51:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 989 Bug Version: 8.1b1 SubmitDate: '1998-12-17' LastModified: '1999-01-15' Severity: LOW Status: Closed Submitter: pat ChangedBy: pat RelatedBugIDs: 976 OS: Windows NT OSVersion: 4.0SP3 Machine: X86 FixedDate: '2000-10-25' ClosedDate: '1999-01-15' Name: Jan Nijtmans ReproducibleScript: When running tclsh81.exe from the command line, I get: Can't find a usable init.tcl in the following directories: ........... This probably means that Tcl wasn't installed properly. ObservedBehavior: The "[info nameofexecutable]/../../library" is not among the listed directories. This but was also reported for Tcl8.0.3 and solved in Tcl8.0.4, so I would be logical to solve it the same way now. Patch: First, copy the "tclInitScript.h" file from tcl8.0.4. That still doesn't solve the problem, because the variable $tclDefaultLibrary doesn't exist. As a temporary workaround, I did: *** tclWinInit.c.origWed Nov 11 05:09:19 1998 --- tclWinInit.cMon Dec 14 17:27:42 1998 *************** *** 554,559 **** --- 554,560 ---- } Tcl_DStringFree(&ds); } + Tcl_SetVar(interp, "tclDefaultLibrary", "", TCL_GLOBAL_ONLY); } /* PatchFiles: tclInitScript.h tclWinInit.c The patch for tclWinInit.c just sets the tclDefaultLibrary variable to the empty string, but in fact it should be retrieved from the registry in the same way as Tcl8.0.4. tclUnixInit.c should be modified to set the tclDefaultLibrary variable as well. 01/15/1999 11:57 - pat - closed as a duplicate of bug 976 - foundin initialized to: "obsolete: 8.1b1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to:
Running tclsh81.exe from its build directory doesn't work
- type initialized to: "Bug"
Ticket change [6508bff63f] (rid 92874) by welch on 2000-10-26 07:49:18:
- closedate changed to: "2000-10-26T00:49:18"
- closer changed to: "welch"
- priority changed to: "1 Zero"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
Ticket change [046df7ac25] (rid 119999) by dgp on 2001-04-13 22:56:48:
- closedate changed to: "2001-04-13T15:56:48"
- closer changed to: "dgp"
- subsystem changed to: "38. Init - Library - Autoload"