GRASS GIS on Mac OS X

Tcl/Tk (UNIX)

Last change: $Date$


Tcl/Tk version: 8.4.11
Tcl/Tk

This is for an X11/XWindows build of Tcl/Tk. Apple provides a fairly current Aqua-based version that doesn't include Tk or the Wish shell (Tiger now has Wish), and it's sort of a mix of unix and framework. (Tcltkgrass is currently being revamped, and may support Tcl/Tk Aqua in the future, but NVIZ will probably continue to require an X11 Tcl/Tk.) I chose to install this in the X11 directory, so Apple system updates don't mess it up.

There are two parts to the source: Tcl and Tk are separate. Put both tarballs in the same folder. In a Terminal type:

$ cd path_to_folder_containing_tcltk_sources.tar.gz
$ tar -zxf tcl8.4.11-src.tar.gz
$ tar -zxf tk8.4.11-src.tar.gz
$ cd tcl8.4.11/unix
$ ./configure --prefix=/usr/local/tcltk --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-threads
$ make
$ sudo make install
$ cd ../../tk8.4.11/unix
$ ./configure --prefix=/usr/local/tcltk --enable-threads --with-x --with-tcl=/usr/local/tcltk/lib
$ make
$ sudo make install

© 2003-2005 GRASS Development Team
Imprint | Comments about this page
Last change: $Date$