[GRASS-dev] NVIZ problem on Mac

William Kyngesburye woklist at kyngchaos.com
Sat Dec 20 11:42:40 EST 2008


On Dec 20, 2008, at 12:32 AM, Michael Barton wrote:

> On Dec 19, 2008, at 10:34 PM, William Kyngesburye wrote:
>
>> I think this must be a problem with OS X. Both a version compiled  
>> last week and a version compiled in September, in which NVIZ *did*  
>> work now fail. I'll copy the Mac error report below. I am running  
>> 10.5.6 now. I have tried this against a self-compiled TclTk aqua  
>> and the ActiveStates version.
...
> Binary Images:
...
>   0xa1000 -   0x11ffef  com.tcltk.tcllibrary 8.4.7 b (8.4.7 b)  
> <fd41897f36de9271d601298eaf7cdf4b> /System/Library/Frameworks/ 
> Tcl.framework/Versions/8.4/Tcl
...
> 0xb000000 -  0xb0adfeb  com.tcltk.tklibrary 8.4.7 b (8.4.7 b)  
> <9e3b1ff29ce1a8ada6e6354a43f11c5b> /System/Library/Frameworks/ 
> Tk.framework/Versions/8.4/Tk

This problem again - it's linking the system tcltk 8.4.

There's a note to the OSX source readme to symlink the ActiveTcl  
framework to /usr/local.  This should avoid accidental system tcltk  
linking:

sudo ln -sf /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl /usr/ 
local/lib/libtcl.dylib
sudo ln -sf /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl /usr/ 
local/lib/libtcl8.5.dylib
sudo ln -sf /Library/Frameworks/Tcl.framework/Versions/8.5/ 
libtclstub8.5.a /usr/local/lib/libtclstub8.5.a
sudo ln -sf /Library/Frameworks/Tk.framework/Versions/8.5/Tk /usr/ 
local/lib/libtk.dylib
sudo ln -sf /Library/Frameworks/Tk.framework/Versions/8.5/Tk /usr/ 
local/lib/libtk8.5.dylib
sudo ln -sf /Library/Frameworks/Tk.framework/Versions/8.5/ 
libtkstub8.5.a /usr/local/lib/libtkstub8.5.a
sudo ln -sf tclsh8.5 /usr/local/bin/tclsh
sudo ln -sf wish8.5 /usr/local/bin/wish

(I added the tclsh and wish symlinks recently, haven't comitted yet,  
to help get the GUI to use 8.5)

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an  
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy




More information about the grass-dev mailing list