Hi all,
I’m trying to compile GRASS 7.0 svn on OSX Mountain Lion (10.8) here.
Compilation seems to go OK, but when running the .app, the wxpython GUI crashes (I’m using wxpython 2.9.4 cocoa):
Welcome to GRASS 7.0.svn
…
Launching GUI in the background, please wait…
GRASS 7.0.svn (newLocation):~ > /Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py:54: wxPyDeprecationWarning: Call to deprecated item ‘InitAllImageHandlers’.
wx.InitAllImageHandlers()
/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_core/goutput.py:230: wxPyDeprecationWarning: Call to deprecated item ‘SetVirtualSizeHints’.
outputSizer.SetVirtualSizeHints(self.panelOutput)
Traceback (most recent call last):
File “/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/mapdisp/mapwindow.py”, line 351, in OnPaint
self.PrepareDC(dc)
AttributeError: ‘BufferedWindow’ object has no attribute ‘PrepareDC’
this is my setup:
export CFLAGS=“-arch x86_64 -arch i386 -O2”
export CXXFLAGS=“-arch x86_64 -arch i386”
export LDFLAGS=“-arch x86_64 -arch i386”
./configure
–prefix=/Applications
–enable-largefile
–enable-64bit
–enable-macosx-app
–enable-sysv
–without-glw
–without-motif
–without-cairo
–without-geos
–without-odbc
–without-fftw
–without-readline
–without-tcltk
–with-opengl=aqua
–with-cxx
–with-gdal=/Library/Frameworks/GDAL.framework/Versions/1.9/Programs/gdal-config
–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/Versions/4/unix/share/proj
–with-python=/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config
–with-wxwidgets=/usr/local/lib/wxPython-2.9.4.0/bin/wx-config
–with-x
–with-x-includes=/usr/X11R6/include
–with-x-libraries=/usr/X11R6/lib
–with-freetype
–with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include
–with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib
–with-jpeg
–with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
–with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
–with-tiff
–with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
–with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
–with-png
–with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
–with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
–with-sqlite
–with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib
–with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include
–with-blas
–with-blas-includes=/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers
–with-lapack
–with-lapack-includes=/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers \
many thanks for any hints
Carlos
–
Prof. Carlos Henrique Grohmann
Institute of Geosciences - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -
http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
Can’t stop the signal.