Guillaume, You might try my binaries for GRASS 7 (and other versions). You can get them at <hhttp://www.public.asu.edu/~cmbarton/files/grass_mac/OSX10.6-snowleopard/>. There is an accompanying text file (frameworks.txt) that tells which version of William's frameworks are needed.
If these work, you can try a compilation. Here is my configure string: ./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-geos=/Library/Frameworks/GEOS.framework/Programs/geos-config --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 --with-cairo --with-cairo-includes="/Library/Frameworks/cairo.framework/unix/include/cairo /Library/Frameworks/cairo.framework/unix/include" --with-cairo-libs=/Library/Frameworks/cairo.framework/unix/lib --with-cairo-ldflags="-lcairo" --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-python --with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.12.0/bin/wx-config --with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers /Library/Frameworks/Tk.framework/Headers /Library/Frameworks/Tk.framework/PrivateHeaders" --with-tcltk-libs="/usr/local/tcltk_active/lib" --with-macosx-archs="i386 x86_64" For TclTk, I use the ActiveStates binary for TclTk 8.5 aqua but have created links to it in a special directory in /usr/local, following William's suggestion. Otherwise, you need to edit platform_make. You also need to edit bundle_make to create a package that includes wxPython if you want to distribute this to others. William (or I) can give you directions on how to do so if you want to do it. Here are the instructions for dealing with TclTk after you install the ActiveStates 8.5 binary (8.6 won't work I'm told). Create a folder... /usr/local/tcltk_active/lib/... make links to the ActiveTcl framework binaries libtcl.dylib -> /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl libtcl8.5.dylib -> /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl libtclstub8.5.a -> /Library/Frameworks/Tcl.framework/Versions/8.5/libtclstub8.5.a libtk.dylib -> /Library/Frameworks/Tk.framework/Versions/8.5/Tk libtk8.5.dylib -> /Library/Frameworks/Tk.framework/Versions/8.5/Tk libtkstub8.5.a -> /Library/Frameworks/Tk.framework/Versions/8.5/libtkstub8.5.a Then configure grass with: --with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers / Library/Frameworks/Tk.framework/Headers /Library/Frameworks/ Tk.framework/PrivateHeaders" --with-tcltk-libs=/usr/local/tcltk_active/ lib Michael ____________________ C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Arizona State University voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC) fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC) www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Aug 19, 2011, at 9:00 AM, <[email protected]> <[email protected]> wrote: > Date: Thu, 18 Aug 2011 10:22:54 +0800 > From: <[email protected]> > Subject: Re: [GRASS-user] troubles installing r.fuzzy.system add-on on > Mac OSX (GRASS 6.4.1) + NVIZ compilation error > To: <[email protected]> > Cc: [email protected], [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="Windows-1252" > > Thanks for the tip. I'll give a try at modbuild. > Although, Jarek advised me to upgrade to Grass 7.0, which I tried but > encountered a known compilation problem with NVIZ (something related to Tk). > > GRASS GIS compilation log > ------------------------- > Started compilation: Wed 17 Aug 2011 22:50:58 WST > -- > Errors in: > /usr/local/src/grass_trunk/visualization/nviz > > > This seems similar to this post: > http://osgeo-org.1803224.n2.nabble.com/wxnviz-on-mac-osx-grass7-0-td5439863.html > > I can't find out the fix for this one in the post. I looked in the > macOSX/readme and followed the TclTk guidance (ie: installed TclTk 8.5 from > ActiveState, created the links), but the compilation still fails. _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
