|
2026-10-20
| ||
| 13:29 | • Ticket [76952ef592] libtclzip unavailable for install on Windows when building w... artifact: 3cebf4e8a6 user: serhiy.storchaka | |
| 13:28 | Fix [76952ef592]: in makefile.vc, install-libraries depends on libtclzip, so the library zip is buil... leaf check-in: 53bf37e425 user: serhiy.storchaka tags: win-install-libraries-zip | |
|
2026-06-06
| ||
| 06:13 | • Ticket [76952ef592] libtclzip unavailable for install on Windows when building w... artifact: 0618684dc0 user: apnadkarni | |
|
2026-06-05
| ||
| 08:38 | • Ticket [76952ef592]: 3 changes artifact: e1cb32697a user: apnadkarni | |
| 08:38 | • Ticket [76952ef592]: 3 changes artifact: 0cbce731bb user: apnadkarni | |
|
2026-06-04
| ||
| 20:17 | • New ticket [76952ef592]. artifact: 656c2a797d user: jjhelmus | |
libtclzip unavailable for install on Windows when building with noembed
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.
53bf37e425Fix [76952ef592]: in makefile.vc, install-libraries depends on libtclzip, so the library zip is built for OPTS=noembed instead of the install failing. check-in2026-10-20 13:28:51
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)
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.
Confirmed on main with MSVC 2022: after nmake core shell dlls OPTS=noembed, nmake install-libraries OPTS=noembed 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 [win-install-libraries-zip]: install-libraries depends on libtclzip. Tested with nmake: the zip is built and installed.