[GRASS-dev] Re: status of compiling on the Mac

I just compiled GRASS 7 trunk with the configure string I showed you. One thing interesting is that, in spite of updates and make distclean, my edit to platform.make of weeks ago has never changed and so I've never had to re-edit the TCLTKLIB line.

The compilation went just fine except for the normal errors in lib/nviz and vdigit. By default, it started up in TclTk 8.4 xwin--in spite of specifying the 8.5 includes, etc.

However, if I simply renamed a copy of wish8.5 to wish (probably a symlink would work too) and put it into $GISBASE/bin, it pops up in TclTk 8.5 aqua.

With this configure, NVIZ always comes up in TclTk 8.5 aqua.

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>

On Aug 5, 2008, at 8:32 PM, William Kyngesburye wrote:

On Aug 5, 2008, at 3:37 PM, Glynn Clements wrote:

William Kyngesburye wrote:

What is the status of compiling trunk on the Mac? Last I heard from
you and Glynn, it was almost there but not quite yet. I'd kind of
like to recompile soon, but fear that TclTk will bomb. Any
encouraging words?

We're waiting on Glynn to restore the aqua framework configure option
+ letting the user set the includes.

Correction: you're waiting for someone to find (or produce) a version
of Tcl/Tk which either behaves as a framework or behaves as a Unix
package.

Or for *someone else* to write configure checks to deal with the
sort-of-but-not-quite-a-framework mess.

Well, I still think requiring -I paths for a framework is valid. So it's not really a sort-of-but-not-quite-a-framework.

But I don't know much about the autotools to figure out tests. So hopefully something comes out of my tcltk bug report, or someone can create the configure tests for its current state.

I guess for now, Michael, use the post-configure edit.

PS. maybe we should make a definite descision to drop tcltk from GRASS 7 or not? (and leave it for 6.4) It's just a question in the GRASS 7 ideas wiki right now.

-----
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

On Aug 5, 2008, at 10:49 PM, Michael Barton wrote:

I just compiled GRASS 7 trunk with the configure string I showed you. One thing interesting is that, in spite of updates and make distclean, my edit to platform.make of weeks ago has never changed and so I've never had to re-edit the TCLTKLIB line.

So, it has stayed with the -framework flags? Odd. I just configured with a clean trunk and got the usual -ltcl -ltk.

The compilation went just fine except for the normal errors in lib/nviz and vdigit. By default, it started up in TclTk 8.4 xwin--in spite of specifying the 8.5 includes, etc.

Indeed, GRASS defaults to 'wish'. TclTk built from source, and the ActiveTcl, install as 'wish8.4' or 'wish8.5'. This was one reason for my old TCLTKVERSION, so it could be set in the OSX app startup.

However, if I simply renamed a copy of wish8.5 to wish (probably a symlink would work too) and put it into $GISBASE/bin, it pops up in TclTk 8.5 aqua.

With this configure, NVIZ always comes up in TclTk 8.5 aqua.

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

"Time is an illusion - lunchtime doubly so."

- Ford Prefect