Overview
| Artifact ID: | 81b83a1838b760d87008efda5661d36639606b6748da45fd8c075aa2ba89e727 |
|---|---|
| Ticket: | 006bef5d75f6fd6b12cdbb774cfa1faef94c7835
Tcl cannot run from an arbitrary build directory with --disable-zipfs |
| User & Date: | apnadkarni on 2026-05-21 08:25:05 |
Changes
- icomment:
Here is final fix: When running from the build directory, **and only when running from the build directory** tclsh will look in the source library directory for init.tcl. When running after installation, it should not and will not look there. The original use case arises from using the buildtree (uninstalled) tclsh when building extensions (including Tk). The above solves this without affecting installed tclsh'es which should not be looking into build trees. The change to pkgconfig is not necessary and not implemented. Above is for 9.1. No plans to back port to 9.0 which uses a very different initialization implementation (pre-TIP 732).
- login: "apnadkarni"
- mimetype: "text/x-markdown"