Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0f00cec5933f898b53d8922421bf25bdbbecdc9199f5c2bd0957f3cc510496b1
Ticket: 15d60c0d2e1940f0ede852260e9ebf294f526282
make fails for tk8.6.16 on macOS
User & Date: f_phan on 2025-08-05 04:05:32
Changes

  1. icomment:
    I got an even longer failure message trying your suggestion; I ran:
    % ./configure --prefix=/usr/local/tcl8.6.16 --with-tcl=/usr/local/tcl8.6.16/lib --with-tclinclude=/usr/local/tcl8.6.16/include --enable-framework --enable-aqua
    
    After that, I ran:
    % make -j8
    
    After that, when I ran 'make install':
    
    % sudo make install
    Password:
    Creating package index /Library/Frameworks/Tk.framework/Versions/8.6/Resources/Scripts/pkgIndex.tcl
    Installing Tk to /Library/Frameworks/Tk.framework/Versions/8.6/
    ...
    application-specific initialization failed: Can't find a usable init.tcl in the following directories: 
        /usr/local/lib/tcl8.6 /usr/local/lib/tcl8.6 /usr/lib/tcl8.6 /usr/local/library /usr/library /usr/tcl8.6.6/library /tcl8.6.6/library
    
    /usr/local/lib/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.6, need exactly 8.6.16
    version conflict for package "Tcl": have 8.6.6, need exactly 8.6.16
        while executing
    "package require -exact Tcl 8.6.16"
        (file "/usr/local/lib/tcl8.6/init.tcl" line 21)
        invoked from within
    "source /usr/local/lib/tcl8.6/init.tcl"
        ("uplevel" body line 1)
        invoked from within
    "uplevel #0 [list source $tclfile]"
    /usr/local/lib/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.6, need exactly 8.6.16
    version conflict for package "Tcl": have 8.6.6, need exactly 8.6.16
        while executing
    "package require -exact Tcl 8.6.16"
        (file "/usr/local/lib/tcl8.6/init.tcl" line 21)
        invoked from within
    "source /usr/local/lib/tcl8.6/init.tcl"
        ("uplevel" body line 1)
        invoked from within
    "uplevel #0 [list source $tclfile]"
    
    
    This probably means that Tcl wasn't installed properly.
    
    using Tk source directory tk9.0.2
    verbose messages are off
    scanning section Tk Applications
    .
    scanning section Tk Commands, version 9.0.2
    shuffling ttk_widget.n to front of processing queue
    shuffling options.n to front of processing queue
    .........................................................................................
    scanning section Tk C API, version 9.0.2
    .......................................................................................
    Assembling index
    Rescanning 177 pages to build cross links and write out
    .................................................................................................................................................................................
    Done
    
  2. login: "f_phan"
  3. mimetype: "text/plain"