Helena, I have no trouble compiling GRASS 6.5. I'm using current (or recent as of June) frameworks from William's site. I'm running OS X 10.6. My wxPython installed for Python 2.5 instead of 2.6, but it should work with 2.6 too. I would just need to change the --with-wxwidgets argument. Here is my config line:
cmb-MBP:grass70_dev cmbarton$ ./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=/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5-config --with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.10.1/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" Following William's suggestion, I've also dealt with aqua TclTk issues (for NVIZ) using the following setup: Create 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 I hope this helps. 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 7, 2010, at 9:00 AM, <[email protected]> <[email protected]> wrote: > Date: Sat, 7 Aug 2010 11:50:38 -0400 > From: Helena Mitasova <[email protected]> > Subject: Re: [GRASS-dev] grass65 compilation on mac OSX > To: William Kyngesburye <[email protected]> > Cc: "[email protected] list" <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > William, > > thanks for the hint for compilation of grass7, it worked. Now I am trying to > compile from source also 6.5 and > everything runs except the old nviz - I am getting similar error: > > Undefined symbols for architecture x86_64: > "_GetPortBounds", referenced from: > _SetMacBufRect in togl.o > ld: symbol(s) not found for architecture x86_64 > collect2: ld returned 1 exit status > lipo: can't open input file: > /var/folders/-w/-wN910nTFamsDLR+fBkvB++++TI/-Tmp-//cc1B1KT1.out (No such file > or directory) > make[1]: *** > [/Users/helena/grassdev6/develbranch_6/dist.i386-apple-darwin10.2.0/bin/nviz] > Error 1 > make: *** [default] Error 2 > > Below is my config file, I am wondering what am I missing this time. > BTW, I have nviz running on this machine in grass64 using your binary. > > thanks a lot for any hints, _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
