[GRASS-dev] nviz compile errors on Mac OS X

Michael Barton michael.barton at asu.edu
Sun Sep 14 14:22:39 EDT 2008


I went ahead and installed PyOpenGL, recompiled ../lib/nviz and ../ 
wxpython/nviz.

Same result. I'm glad that you're getting partway there on the Mini,  
but not sure what else I need to do to duplicate your setup. I'm  
including my compile ritual below for comparison. Note, I AM building  
the TclTk GUI too, but that shouldn't matter.

Michael

export CFLAGS="-arch i386 -Os -g"
export CFLAGS="-arch i386 -Os -g"
export LDFLAGS="-arch i386 -Os -g"

export NAD2BIN=/Library/Frameworks/PROJ.framework/Programs/nad2bin


./configure --with-freetype --with-freetype-includes="/Library/ 
Frameworks/FreeType.framework/unix/include/freetype2 /Library/ 
Frameworks/FreeType.framework/unix/include" --with-freetype-libs=/ 
Library/Frameworks/FreeType.framework/unix/lib --with-gdal=/Library/ 
Frameworks/GDAL.framework/Programs/gdal-config --with-proj --with-proj- 
includes=/Library/Frameworks/PROJ.framework/unix/include --with-proj- 
libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj-share=/ 
Library/Frameworks/PROJ.framework/Resources/proj --with-jpeg-includes=/ 
Library/Frameworks/UnixImageIO.framework/unix/include --with-jpeg- 
libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-png- 
includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with- 
png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with- 
tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include -- 
with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib -- 
without-postgres --without-mysql --with-odbc --with-sqlite --with- 
sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib --with- 
sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include -- 
with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include -- 
with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib --with-x -- 
with-cxx --with-opengl=aqua --without-readline --prefix=/Applications/ 
GRASS --enable-macosx-app --with-wxwidgets=/usr/local/lib/wxPython- 
unicode-2.8.8.1/bin/wx-config --with-wxwidgets=/usr/bin/wx-config -- 
with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers / 
Library/Frameworks/Tk.framework/Headers /Library/Frameworks/ 
Tk.framework/PrivateHeaders"

after configure, *before* make, edit include/make/platform.make:
TCLTKLIBS = -framework Tcl -framework Tk






____________________
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 Sep 14, 2008, at 9:07 AM, William Kyngesburye wrote:

> On Sep 14, 2008, at 12:52 AM, Michael Barton wrote:
>
>> Attached is the crashlog
>>
>> There is something a bit odd with the header information. It has  
>> the right path for my MacPython version installation, but the  
>> version is for the Apple system Python. I wonder if this is along  
>> the same lines as the issue that was killing vdigit.
>>
>> Michael
>
>
> For some reason the MacPython has always been built with that 2.5a0  
> version number, no matter what 2.5.x version it really is.  So  
> everything there is macpython.
>
> It looks like it's crashing trying to load a module, but it's not  
> saying what it is.
>
>
> *Update*
>
> Test on Mini: nviz sortof runs (no crash) - the "Please wait,  
> loading data" window just sits there and the display remains 2D, but  
> there are a palette and quit (nviz) tool buttons.  I can "quit" nviz  
> and the please wait dialog goes away.
>
> In addition to the other macpython + wx I mentioned, I installed  
> PyOpenGl 3.0.0b5.
>
> I get the same when I compile for the system python.
>
>
> How did you configure GRASS?  The relevant options I used are:
>
> --with-x
> --with-python
> --with-opengl=aqua
> --without-tcltk
> --with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.8.1/bin/wx-config
>
> I didn't use a path for python (not needed).
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "I ache, therefore I am.  Or in my case - I am, therefore I ache."
>
> - Marvin
>
>



More information about the grass-dev mailing list