Tcl Source Code

View Ticket
Login
Ticket UUID: 15d60c0d2e1940f0ede852260e9ebf294f526282
Title: make fails for tk8.6.16 on unix
Type: Bug Version: 8.6.16
Submitter: f_phan Created on: 2025-07-24 14:14:33
Subsystem: 69. Other Assigned To: nobody
Priority: 5 Medium Severity: Severe
Status: Open Last Modified: 2025-07-25 18:00:57
Resolution: None Closed By: nobody
    Closed on:
Description:
Built and installed tcl8.6.16 on macOS Monterey.
Then tried to build tk8.6.16:
% tar -xzf tk8.6.16-src.tar.gz
% cd tk8.6.16/unix
% ./configure --prefix=/usr/local/tcl8.6.16 --with-tcl=/usr/local/tcl8.6.16/lib --enable-framework --enable-aqua
% make -j8
% sudo make install
.
.
.
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



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
User Comments: apnadkarni added on 2025-07-25 18:00:57:
After installing tcl 8.6.16, did you try running the installed tclsh 8.6.16 and see the "Tcl wasn't installed properly error"? Or are you seeing the error only on the Tk build?