[GRASS-dev] debugging nviz with TclTk 8.5 aqua

Michael Barton michael.barton at asu.edu
Wed Jul 23 14:55:31 EDT 2008


On Jul 23, 2008, at 10:52 AM, William Kyngesburye wrote:

> On Jul 23, 2008, at 12:28 PM, Glynn Clements wrote:
>
>> William Kyngesburye wrote:
>>
>>> Ideally, I think GRASS needs to detect a framework TclTk Aqua
>>> and use -framework Tcl -framework Tk instead of -ltcl -ltk to link
>>> tcltk, then the symlinks and -L flag would not be necessary.
>>
>> Presumably this would be handled similarly to OpenGL, which already
>> has suitable configure checks.
>>
> Hmm, it IS related.  Though it's a little more complicated.  OSX  
> 10.4+ has a true TclTk 8.4 Aqua, but 10.3- only appears to be, but  
> is really X11 (and it's the old v8.3).  So we can't make any  
> assumptions about the header locations.
>
> To make it simple for the user, tests for /Library/Frameworks/ 
> Tcl.framework then /System/Library/Frameworks/Tcl.framework[/ 
> Versions/8.4] would be needed to get the appropriate -I flags.  The  
> framework flags are simple because no path is needed - the linker  
> looks first in /Library/Frameworks, then /System/Library/frameworks,  
> so a user 8.5 would override the system's.
>
> Disabling/uninstalling /Library/Frameworks is simple, if a user  
> wanted to build GRASS for the system framework.

Something else to keep in mind. The header I posted is needed by Togl  
I think. But I also think that it is 8.5 only.

Michael


More information about the grass-dev mailing list