Tcl Source Code

View Ticket
Login
Ticket UUID: 76952ef5925f8785ac579058de882f473a1cd3e2
Title: libtclzip unavailable for install on Windows when building with noembed
Type: Bug Created on: 2026-06-04 20:17:46
Submitter: jjhelmus Assigned to: apnadkarni
Subsystem: 53. Configuration and Build Tools Severity: Minor
Priority: 5 Medium Last modified: 2026-06-06 06:13:03
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 9.0.3
Description:
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.
User Comments:
apnadkarni added on 2026-06-05 08:38:35:

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)


apnadkarni added on 2026-06-06 06:13:03:

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.