Ah, when you use the arch option in configure, do NOT set archs in C[XX]FLAGS/LDFLAGS as this will override the arch option and mess up all wxpython-based modules.
On Feb 5, 2010, at 8:17 AM, Massimo Di Stefano wrote: >>>>> /Users/Shared/source/grass_trunk/visualization/nviz >>>>> /Users/Shared/source/grass_trunk/visualization/xganim >>>>> /Users/Shared/source/grass_trunk/visualization/wximgview >> >> please also post the errors in these directories. >> >> Markus > > > yes True, > > i'm on osx snow leopard building with multi-arch flags, > this what i'm doing : > > export CXXFLAGS="-arch x86_64 -arch i386 -Os -g" > export LDFLAGS="-arch x86_64 -arch i386 -Os -g" > export CFLAGS="-arch x86_64 -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/unix/bin/gdal-config > --with-geos=/Library/Frameworks/GEOS.framework/Programs/geos-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-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=/Users/Shared/source/epylib/local/include > --with-fftw-libs=/Users/Shared/source/epylib/local/lib --with-cxx --with-x > --without-motif --without-glw --with-opengl=aqua --without-readline > --with-python --with-wxwidgets=/usr/bin/wx-config --prefix=/Applications > --enable-macosx-app --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/Versions/1/unix/lib > --with-cairo-ldflags=-lcairo --with-pthread --with-postgres > --with-postgres-includes=/usr/local/pgsql/include > --with-postgres-libs=/usr/local/pgsql/lib --enable-largefile > --with-macosx-archs="i386 x86_64" ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ "We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty." "Don't you even hate 'em?" "What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day." <Ha, ha> "And it might give 'em all stomach ulcers." - Tarzan, on war _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
