Discussion:
Installing Tcl/Tk on Mac M1
(too old to reply)
Westermeyer
2022-12-29 14:24:59 UTC
Permalink
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
2023-01-01 21:05:37 UTC
Permalink
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...

Loading...