Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Installing Tcl/Tk on Mac M1

3,297 views
Skip to first unread message

Westermeyer

unread,
Dec 29, 2022, 9:25:02 AM12/29/22
to
Hello All,

Just wanted to put my notes on installing Tcl/Tk on Mac M1. Nothing groundbreaking here, but pure noobs might appreciate some guidance

1. Download the tcl and tk sources from whttps://www.tcl.tk/software/tcltk/download.html
2. Extract both the tcl and tk source packages
3. Use a shell to cd to macosx folder of tcl source
[At one of the points below you may be prompted to install XCode, which you should do if not already installed]
4. from the shell, type "./configure"
5. from the shell, type "make" (again, in the macosx folder)
6. from a shell, type "sudo make install"
Repeat steps 3, 4, 5, and 6 for tk source
As of today, this will give you Tcl/Tk version 8.6.13. You can confirm this by typing at your shell the following command:
"info patchlevel"

Where are the packages installed? You should be able to find the packages in the following location:
Macintosh HD > Library > Tcl

Other locations of interest:
Macintosh HD > System > Library > Tcl
Macintosh HD > System > Library > Frameworks > Tcl.framework
Macintosh HD > System > Library > Frameworks > TK.framework

Westermeyer

unread,
Jan 1, 2023, 4:05:40 PM1/1/23
to
With a little help from

https://www.sowaswie.de/downloads/tcl/macos/arm64/

was able to get pre-compiled libraries for Apple M1, and the following editors and debugger are now working:

alited
https://aplsimple.github.io/en/tcl/alited/index.html

Tloona
https://tloona.sourceforge.net/

TclProDebug
https://github.com/flightaware/TclProDebug
(note that tclparser library is available from sowaswie.de, really want to thank this person)

More progress...
0 new messages