[GRASS-dev] Re: grass-user Digest, Vol 29, Issue 45

Michael Barton michael.barton at asu.edu
Sun Sep 21 17:21:29 EDT 2008


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 at lists.osgeo.org> wrote:

> Date: Mon, 22 Sep 2008 00:34:27 +0400
> From: Elvis Dowson <elvis.dowson at 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 at kyngchaos.com>
> Cc: grass-user <grass-user at lists.osgeo.org>
> Message-ID: <D602B8CF-B18A-474E-A530-B0E90718FCC3 at mac.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi William,
>                         Here's what I've done. I downloaded the
> latest svn snapshot 20080920 and then
>
> did 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/nad2bin
>
> For 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



More information about the grass-dev mailing list