Skip to content
Tcl Source Code View Ticket
Login

View Ticket

MSWin,nmake, static, noembed: relative install path not consistent for bundeled packages

Closed / Wont Fix88d0245ea8b0b6b165e1f66b6444643e7b93fb2eCreated 2 years agoUpdated 2 years ago
Descriptionwiki2025-05-14 11:12:58
I am not sure, if this is fixable. In TCL 9.0.1, VS2022, 64 bit native shell, tcl9.0.1 source is in c:\test:
cd c:\test\tcl9.0.1\win
nmake -f Makefile.vc install OPTS=noembed,static INSTALLDIR=..\..\install

Will install:

  • TCL in c:\test\install
  • All bundeled packages in c:\test\pkgs\install, no lib subfolder used.

As an example,

This is due to the fact, that the current folder changes. It would be great, if the relative path may be transformed to an absolute path before passed to the bundled packages.

Thanks for all, Harald

oehhar Ticket [88d0245ea8]: 4 changes [History diff]2025-05-14 11:15:37
apnadkarnimarkdown2025-05-18 15:13:30

IIRC, the Unix builds also require an absolute path, at least in some configurations.

For now, if you don't know the full path, and want it to be relative, you can run it as

nmake -f Makefile.vc install OPTS=noembed,static INSTALLDIR=%CD%\..\..\install
oehharwiki2025-05-20 07:46:41

Great, thank you ! Can we document this somewhere, for example in the comments of makefile.vc ? Nevertheless, it applies only to the bundled packages. Otherwise, it works ok, even with Tk.

Thanks, Harald

Log in (anonymous is fine) to add a comment.