I don't know about compiling, but several of your environmental settings will definitely cause problems if you try to run GRASS after compiling for TclTk 8.5 aqua. See below.
Michael
On Sep 21, 2008, at 11:33 AM, <grass-user-request@lists.osgeo.org> wrote:
Date: Sun, 21 Sep 2008 21:20:06 +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@lists.osgeo.org
Message-ID: <8F2F9B13-4C45-4119-A0A5-17CE4ECE0349@mac.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yesHi William,
Upon looking more closely at the config.logconfigure:11340: gcc -o conftest -g -O2 conftest.c -lGL 1>&5
ld: library not found for -lGL
collect2: ld returned 1 exit status
configure: failed program was:I see that ld could not find the GL libraries for some reason.
However, I have put this in my .profile. The location I have put is
usr/X11/lib . Is this the correct location?# environment variables
export QTROOT=/usr/local/qt-4.4.1
export GRASS_TCLSH=/usr/X11R6/bin/tclsh
I would not even set this. If you do, use the version for TclTk 8.5 in /usr/bin
export GRASS_WISH=/usr/X11R6/bin/wish
This should be /usr/bin/wish8.5
export VTK_DIR=/Users/elvis/Tool/vtk-5.2.0/src
export VTK_LIB_DIR=/usr/local/lib/vtk-5.2export X11_LIB_DIR=/usr/X11/lib
If you are compiling with aqua, you don't need this.
#export OPENGL_LIB_DIR=/Developer/SDKs/MacOSX10.5.sdk/System/Library/
Frameworks/OpenGL.framework/Versions/A/Libraries
You won't need this (i.e., leave it commented out)
# the path is initially set to "/usr/bin:/bin:/usr/sbin:/sbin:/usr/
local/bin:/usr/X11/bin"
export PATH=$PATH:$QTROOT/bin
export LD_LIBRARY_PATH=$VTK_LIB_DIR:$X11_LIB_DIR:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$VTK_LIB_DIR:$X11_LIB_DIR:$DYLD_LIBRARY_PATHBest regards,
Elvis Dowson