|
2004-11-23
| ||
| 14:56 | • Closed ticket [976438ffff]: Cannot find "init.tcl" on Unix... plus... artifact: d621f15779 user: dgp | |
| 11:49 | • Open ticket [976438ffff]. artifact: 552f571a6a user: dgp | |
| 04:24 | • Ticket [976438ffff]: 7 changes artifact: 88bfe4aa65 user: dgp | |
| 04:24 | • Closed ticket [976438ffff]. artifact: 974a53caa3 user: dgp | |
| 02:52 | • Add attachment 976438.patch to ticket [976438ffff] artifact: dcc2d63dad user: dgp | |
| 02:52 | • Ticket [976438ffff] Cannot find "init.tcl" on Unix... status still... artifact: e04b657f27 user: dgp | |
|
2004-11-16
| ||
| 05:34 | • Ticket [976438ffff]: 1 change artifact: 542cc7d62b user: dgp | |
|
2004-11-12
| ||
| 03:30 | • Ticket [976438ffff]: 1 change artifact: 20ec37ca10 user: hobbs | |
|
2004-07-01
| ||
| 22:40 | • Ticket [976438ffff]: 4 changes artifact: 1ec77790ea user: dgp | |
|
2004-06-21
| ||
| 12:08 | • Ticket [976438ffff]: 6 changes artifact: 5b18626133 user: dgp | |
| 12:04 | • Ticket [976438ffff]: 3 changes artifact: 6558172394 user: dgp | |
| 12:04 | • Ticket [976438ffff]: 1 change artifact: 6758d26a3e user: dgp | |
|
2004-06-20
| ||
| 23:40 | • New ticket [976438ffff]. artifact: fda107f614 user: mistachkin | |
Cannot find "init.tcl" on Unix...
Closed / Fixed976438ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-06-20 23:40:03
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.
dgp Ticket [976438ffff]: 1 change
[History diff]2004-06-21 12:04:05
dgp Ticket [976438ffff]: 3 changes
[History diff]2004-06-21 12:04:06
dgpplain2004-06-21 12:08:41
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.
dgpplain2004-07-01 22:40:12
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.
hobbs Ticket [976438ffff]: 1 change
[History diff]2004-11-12 03:30:52
dgp Ticket [976438ffff]: 1 change
[History diff]2004-11-16 05:34:54
dgpplain2004-11-23 02:52:20
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.
dgp Closed ticket [976438ffff].
[History diff]2004-11-23 04:24:39
dgpplain2004-11-23 04:24:40
Logged In: YES user_id=80530 patch committed for 8.5a2.
dgpplain2004-11-23 11:49:38
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.
dgpplain2004-11-23 14:56:43
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.
Log in (anonymous is fine) to add a comment.
Attachments:
- 976438.patch [download] added by dgp on 2004-11-23 02:52:20. [details]