Elvis,
There is some confusion over a couple of different things here. See below.
Michael
On Sep 21, 2008, at 2:05 PM, <grass-user-request@lists.osgeo.org> wrote:
Date: Mon, 22 Sep 2008 00:34:27 +0400
From: Elvis Dowson <elvis.dowson@mac.com>
Subject: Re: [GRASS-user] Problems with OpenGL when compiling
grass-6.4.0 on Mac OS X 10.5.4
To: William Kyngesburye <kyngchaos@kyngchaos.com>
Cc: grass-user <grass-user@lists.osgeo.org>
Message-ID: <D602B8CF-B18A-474E-A530-B0E90718FCC3@mac.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yesHi William,
Here's what I've done. I downloaded the
latest svn snapshot 20080920 and thendid the following.
Here are my environment variables
export CFLAGS="-arch i386 -Os"
export CXXFLAGS="-arch i386 -Os"
export LDFLAGS="-arch i386 -Os"
export NAD2BIN=/Library/Frameworks/PROJ.framework/Programs/nad2binFor the configure command, this time I just did
./configure and it detected most of the libraries correctly and didn't
complain.After this I typed make and got the following errors:
Errors in:
/Users/elvis/Tool/grass-6.4.0/lib/nviz
This is the new wxPython nviz replacement. It compiles on a Mac, but doesn't work on a Mac yet. You need to delete render.c in ../lib/nviz before you configure and make to not get an error here.
/Users/elvis/Tool/grass-6.4.0/visualization/nviz
This is the original TclTk nviz. This should work with TclTk 8.5.3 aqua if you have set configure correctly. I suggest, to check this out, you take out all references to x11 in your configure and in your environment variables. Once you get it compiling correctly, you can start to put some back in as needed.
/Users/elvis/Tool/grass-6.4.0/visualization/nviz2/cmd
This is part of the new wxPython nviz replacement. It will not compile in the Mac, so just ignore it.
Michael