[GRASS-dev] trying to compile wxPython NVIZ

Michael Barton michael.barton at asu.edu
Wed Jul 16 21:56:16 EDT 2008


Here is a bit of followup on Mac Aqua TclTk. I perused the TOGL site.  
Here is what it says for Mac for TOGL 2.0


Mac OS X usage
These special instructions are for building the Aqua version of Togl.  
Mac OS X needs tkMacOSXInt.h and other internal Tk header files.  
Unfortunately, the Tcl and Tk frameworks that Apple distributes are  
missing the internal headers. So you need a Tcl/Tk source distribution  
in addition to the Togl distribution (or copy over the various include  
files). You would probably want a newer version of Tcl and Tk anyway  
because each minor revision of 8.4 has many Aqua bug fixes.

Here's one way to build Tcl, Tk, and Togl on Mac OS X (assuming they  
are all in the same directory) to install in your home directory:

VER=8.4.12 mkdir -p ~/bin make -C tcl$VER/macosx install PREFIX="$ 
{HOME}" INSTALL_PATH="${HOME}/Library/Frameworks" make -C tk$VER/ 
macosx install PREFIX="${HOME}" INSTALL_PATH="${HOME}/Library/ 
Frameworks" APPLICATION_INSTALL_PATH="${HOME}/Applications" cd  
Togl2.0 ./configure --prefix="${HOME}" make install

I checked and these header ARE present, at least for OS X 10.5.4 and  
TclTk 8.5. They are in the PrivateHeaders folder. So maybe it is just  
necessary to build TOGL 2.0 against the PrivateHeaders in 8.5 for this.

Michael

____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>




More information about the grass-dev mailing list