Artifacts Associated With Ticket 976438ffffffffff
Ticket change [fda107f614] (rid 108433) by mistachkin on 2004-06-20 23:40:03:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The Unix initialization code should semantically match the Windows code and be able to search for "init.tcl" using at least the relative paths "../lib/" and "../library/". ERROR: ./tclsh application-specific initialization failed: Can't find a usable init.tcl in the following directories: /usr/local/lib/tcl8.5 This probably means that Tcl wasn't installed properly. - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mistachkin"
- subsystem initialized to: "38. Init - Library - Autoload"
- title initialized to: "Cannot find "init.tcl" on Unix..."
- type initialized to: "Bug"
Ticket change [6758d26a3e] (rid 102887) by dgp on 2004-06-21 12:04:05:
- foundin changed to: "obsolete: 8.5a2"
Ticket change [6558172394] (rid 102528) by dgp on 2004-06-21 12:04:06:
- assignee changed to: "hobbs"
- priority changed to: "3 Low"
- title changed to: "Decread\"
Ticket change [5b18626133] (rid 118257) by dgp on 2004-06-21 12:08:41:
- icomment:
Logged In: YES user_id=80530 The change you see compared with Tcl 8.4 is the result of some work in progress trying to simplify the numerous search paths that lead Tcl to "wander all over the filesystem: at startup. Some recent testing showed hundreds to thousands of "stat" calls, mostly on non-existent files, just to initialize the Tcl library. To run the tclsh program you just built from within the build directory, and without installing it, the recommended technique is $ make shell rather than $ ./tclsh Use that as a workaround, while we continue work on reforming the startup sequence, and consider this bug report further.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "5 Medium"
- title changed to: "Cannot find "init.tcl" on Unix..."
- username: "dgp"
- icomment:
Ticket change [1ec77790ea] (rid 91038) by dgp on 2004-07-01 22:40:12:
- icomment:
Logged In: YES user_id=80530 This issue may cause trouble with tclbench as well. When tclbench wants to run several tclsh programs from their build directories, it will not be using the `make shell` convention, so the reduced init.tcl/encoding search paths may cause failure.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [20ec37ca10] (rid 130496) by hobbs on 2004-11-12 03:30:52:
- assignee changed to: "dgp"
Ticket change [542cc7d62b] (rid 93892) by dgp on 2004-11-16 05:34:54:
- priority changed to: "9 Immediate"
Add attachment "976438.patch" [dcc2d63dad] (rid 114542) by dgp on 2004-11-23 02:52:20.
Ticket change [e04b657f27] (rid 115162) by dgp on 2004-11-23 02:52:20:
- icomment:
File Added - 109730: 976438.patch Logged In: YES user_id=80530 This patch restores directories to the search path for init.tcl, but not to the search path for encodings. This should restore the robustness of Tcl startup in testing environments, but should not bring back the mega-surplus filesystem stat-ing that bogged down start up. Testing on non-unix platforms recommended.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [974a53caa3] (rid 106481) by dgp on 2004-11-23 04:24:39:
- status changed to: "Closed"
Ticket change [88bfe4aa65] (rid 131913) by dgp on 2004-11-23 04:24:40:
- closedate changed to: "2004-11-22T21:24:40"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 patch committed for 8.5a2.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "dgp"
Ticket change [552f571a6a] (rid 94084) by dgp on 2004-11-23 11:49:38:
- icomment:
Logged In: YES user_id=80530 ok, that patch helped a lot, but still leaves tests unixInit-2.2-4 failing in a macosx build. The TCL_LIBRARY value supplied during `make test` is required to successfully initialize, so the tests that set TCL_LIBRARY to something else end up failing.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "dgp"
- icomment:
Ticket change [d621f15779] (rid 123753) by dgp on 2004-11-23 14:56:43:
- closedate changed to: "2004-11-23T07:56:43"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Actually, those tests pass just fine so long as the toplevel name of the Tcl source directory is correct. Current correct name should be tcl8.5a2 This is the name produced by unpacking the official tarballs. Failure to cvs checkout into a directory with that name may be considered pilot error.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"