Tcl Source Code

View Ticket
Login
Ticket UUID: 248c105fcc0771f98c14e5855647f8dddeb7453b
Title: Errors installing Tcl 9.1 on macOS
Type: Bug Created on: 2025-05-29 17:05:08
Submitter: marc_culler Assigned to: nobody
Subsystem: 53. Configuration and Build Tools Severity: Minor
Priority: 5 Medium Last modified: 2025-05-30 10:42:02
Status: Open Closed by: nobody
Resolution: None Closed on:
Version:
Description:

Installing Tcl 9.1 from the tip of the main branch on a brand new macOS Sonoma VM produces the following error message:

Customizing tcl module path
Installing private header files to /Library/Frameworks/Tcl.framework/Versions/9.1/PrivateHeaders/
ERROR: version conflict for package "Tcl": have 8.5.9, need 8.6-
If running this script from 'make html', set the NATIVE_TCLSH environment
variable to point to an installed tclsh9.0 (or the equivalent tclsh90.exe
on Windows).
make[3]: *** [html-tcl] Error 1
make[2]: *** [install-strip] Error 2
make[1]: *** [install-tcl] Error 2
make: *** [install-deploy] Error 2
Why is Tcl 9.1a0 looking for a tclsh9.0 executable? Why does the error persisi after setting NATIVE_TCLSH=/usr/local/bin/tclsh9.1? Why is it even looking at Apple's broken /usr/bin/tclsh (which is 8.5.9)?

User Comments:
jan.nijtmans added on 2025-05-30 10:42:02:

Those messages come from here: https://core.tcl-lang.org/tcl/file?name=tools/tcltk-man2html.tcl&ci=ef7f12a7fc7cd7ee&ln=5-7

If you have an idea how to improve this, go ahead!