[GRASS-dev] GRASS 7 nviz (tcltk) no longer compiles on Mac

William Kyngesburye woklist at kyngchaos.com
Sun Feb 1 13:19:02 EST 2009


On Feb 1, 2009, at 12:07 PM, Michael Barton wrote:

>>> One thing I noticed. In platform make, I normally have to edit the  
>>> TCLTKLIBS line from
>>>
>>> TCLTKLIBS           =  -ltk   -ltcl
>>>
>>> to
>>>
>>> TCLTKLIBS           = -framework Tcl -framework Tk
>>>
>> I haven't had to do that in a while.  I added symlinks to /usr/ 
>> local/lib (I think we discussed this a while back).
>
> For a variety of reasons--including needing the x11 version of TclTk  
> 8.5 for some other things--I had to get rid of the symlinks. This  
> means I'm back to modifying platform.make
>
Before figuring out the symlinks, yes this is what I did.  You do need  
the with-tcltk-includes option, though.  Just let configure find the / 
usr/lib tcl/tk libs, then edit platform.make.

Though, if your X11 tcltk is isolated (that old /usr/local/tcltk/* ?),  
then the symlinks in /usr/local/lib shouldn't affect it.

> This works fine for GRASS 6.5. So what has changed for 7 in this  
> regard? I guess I can explicitly set the path to the frameworks in  
> the configure line and see what happens.
>
Hmm, I don't know about changes that would cause this.

Though I wonder - dropping tclTk in GRASS 7, was that just for the  
GUI, or was that supposed to include nviz also (we would assume that  
the python nviz would be solid by then)?

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

"Mon Dieu! but they are all alike.  Cheating, murdering, lying,  
fighting, and all for things that the beasts of the jungle would not  
deign to possess - money to purchase the effeminate pleasures of  
weaklings.  And yet withal bound down by silly customs that make them  
slaves to their unhappy lot while firm in the belief that they be the  
lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan




More information about the grass-dev mailing list