Artifacts Associated With Ticket 76952ef592
Ticket change [656c2a797d] (rid 254208) by jjhelmus on 2026-06-04 20:17:46:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
When building Tcl with the noembed option on Windows using nmake, the core target does not build the libtclzip target but this file is needed for the install-libraries target. For example: nmake -f makefile.vc core shell dlls OPTS=noembed nmake -f makefile.vc install-libraries OPTS=noembed This fails due to libtcl9.0.3.zip not being available. Building the release target addresses this issue but it unclear why the zip file needed to be installed in the noembed case.
- foundin initialized to: "9.0.3"
- is_private initialized to: "0"
- login: "jjhelmus"
- priority initialized to: "5 Medium"
- private_contact initialized to: "c81dee24e5d5420a767d47bd0cc0232472ef1c9e"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "jjhelmus"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
libtclzip unavailable for install on Windows when building with noembed
- type initialized to: "Bug"
Ticket change [0cbce731bb] (rid 254211) by apnadkarni on 2026-06-05 08:38:35:
- icomment:
> it unclear why the zip file needed to be installed in the noembed case. It's not required for Tcl itself. However, users can still create their own applications embedding the libraries from a non-embedded Tcl installation and including the libzipfs facilitates this. I'll look at fixing this by only installing it if present (in other words it will be guaranteed installed with the release target but not necessarily the others)
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [e1cb32697a] (rid 254212) by apnadkarni on 2026-06-05 08:38:52:
- assignee changed to: "apnadkarni"
- login: "apnadkarni"
- mimetype: "text/plain"
Ticket change [0618684dc0] (rid 254224) by apnadkarni on 2026-06-06 06:13:03:
- icomment:
Having given it further thought, I am not sure current behavior needs to be changed. The purpose of the install target is to install all files for a "release". By design, "all release files" includes libtclxxx.zip even for OPTS=noembed builds. So failure to install when any of the release files is missing seems reasonable to me.
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [3cebf4e8a6] (rid 259427) by serhiy.storchaka on 2026-10-20 13:29:10:
- foundin changed to: "9.0.5, 9.1.0"
- icomment:
Confirmed on main with MSVC 2022: after <code>nmake core shell dlls OPTS=noembed</code>, <code>nmake install-libraries OPTS=noembed</code> fails with "File not found - libtcl9.1b1.zip". Keeping the current design (the zip is installed for noembed builds too), the install could build the zip instead of failing. Proposed fix in branch [53bf37e425|win-install-libraries-zip]: <code>install-libraries</code> depends on <code>libtclzip</code>. Tested with nmake: the zip is built and installed.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"