Tcl Source Code

View Ticket
Login
Ticket UUID: 84284637b6ef1bd2288591b5254ceab7574f0651
Title: make html/nmake htmlhelp require tk folder beside tcl
Type: Bug Created on: 2021-02-08 10:07:04
Submitter: oehhar Assigned to: nobody
Subsystem: - New Builtin Commands Severity: Minor
Priority: 5 Medium Last modified: 2021-02-08 10:07:04
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: all
Description:

The file "tools/tcltk-man2html.tcl" implies the following rules to the tk source folder:

  • same parent folder as tcl source
  • named as tk + version string (example: tk8.6.10)

The rest of the Tk build system works differently and does not constrain the tk source folder location or name.

My test is as follows:

  • TCL source in c:\test\tcl8.7-branch-vc2015-debug
  • Tk source in c:\test\tk8.7-image-metadata\tk8.7-checkout
  • Windows MS-VC2015 32 bit native command
  • cd c:\test\tk8.7-image-metadata\tk8.7-checkout\win
  • nmake Makefile.vc htmlhelp TCLDIR=c:\test\tcl8.7-branch-vc2015-debug OPTS=symbols

By this command, another Tk distribution in c:\test\tk is chosen and used. There are no error messages, about the issue.

I suppose, the issue is the same on other platforms, as "make html" uses the tcltk-man2html.tcl command, and this command does not feature a possibility to specify the tk folder.

I think, the tk folder of the build environment should be used, or an error should be thrown, that the current configuration is not possible.

But silently doing something else is not helpful.

Thank you all, Harald