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

Michael Barton michael.barton at asu.edu
Sun Feb 1 11:42:51 EST 2009


On Feb 1, 2009, at 9:37 AM, William Kyngesburye wrote:

> On Feb 1, 2009, at 9:50 AM, Michael Barton wrote:
>
>> On Feb 1, 2009, at 12:21 AM, Glynn Clements wrote:
>>
>>>
>>> Michael Barton wrote:
>>>
>>>> Just did an update and compile from the SVN. The original TclTk
>>>> version of nviz will no longer compile on the Mac. I wonder if  
>>>> this is
>>>> related to the change to make it TclTk 8.6 compatible?
>>>>
>>>> Anyway, I put the lengthy error into a text file and am attaching  
>>>> it.
>>>
>>>> In file included from togl.c:53:
>>>> /usr/include/tkMacOSX.h:19:19: error: tkInt.h: No such file or  
>>>> directory
>>>
>>> It looks like the headers from the system Tk package are broken.
>>
> But it shouldn't be trying to use the system tcltk in the first  
> place.  So the tests in configure probably failed to find your tcltk  
> 8.5.
>
>> I compiled 6.5 a few minutes earlier and had no problem with TclTk.
>>
>> 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).
>
>> In GRASS 7, TCLTKLIBS was blank. I went ahead and entered the - 
>> framework statements.
>>
> Maybe related to configure not finding your tcltk 8.5 headers.

So what has been taken out of the GRASS 7 configure/make so that it  
can no longer find the headers? With 6.5 if you have --with- 
opengl=aqua in your configure line, that is enough to find the aqua  
TclTk headers.

Michael

>
>
>> Michael
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> First Pogril: Why is life like sticking your head in a bucket filled  
> with hyena offal?
> Second Pogril: I don't know.  Why IS life like sticking your head in  
> a bucket filled with hyena offal?
> First Pogril: I don't know either.  Wretched, isn't it?
>
> -HitchHiker's Guide to the Galaxy
>
>



More information about the grass-dev mailing list