On Saturday, October 14, 2017 at 9:31:52 AM UTC-7, Rolf Ade wrote:
Thanks. I will probably take a look at it later.
Here's a working build script.
I still need to figure out a patch so that a 'package require Tk'
works properly. I know what needs to go in, have to figure out
where it needs to be defined.
#!/bin/bash
set -x
test -d build && rm -rf build
cd tcl8.6.7
make -C macosx clean
make -C macosx INSTALL_ROOT=$HOME/local install
cd ..
cd tk8.6.7
make -C macosx clean
make -C macosx INSTALL_ROOT=$HOME/local install
cd ..
chmod u+w $HOME/local/usr/local/bin/tclsh8.6
install_name_tool -change "/Library/Frameworks/Tcl.framework/Versions/8.6/Tcl" @executable_path/../../../Library/Frameworks/Tcl.framework/Versions/8.6/Tcl $HOME/local/usr/local/bin/tclsh8.6
chmod u+w $HOME/local/Library/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish
install_name_tool -change "/Library/Frameworks/Tk.framework/Versions/8.6/Tk" @executable_path/../../../../Tk $HOME/local/Library/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish
install_name_tool -change "/Library/Frameworks/Tcl.framework/Versions/8.6/Tcl" @executable_path/../../../../../../../Tcl.framework/Versions/8.6/Tcl $HOME/local/Library/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish