[GRASS-dev] grass - lion and 64bit build

gmail massimodisasha at gmail.com
Fri Nov 4 08:47:23 EDT 2011


Hi,

tring to build grass7 on osx lion using wx-2.9-cocoa 
the build ends without errors but he told me i can't start the guy for a missed numpy.

any clue about osx 64 support on mac? 
wx2.9 cocoa was released as stable version now

i build grass using the x86_64 flags


error log :

Launching 'wxpython' GUI in the background, please wait...
GRASS 7.0.svn (spearfish60 at PERMANENT):~ > wxplot.py: This module requires the NumPy module, which could not be imported. It probably is not installed (it's not part of the standard Python distribution). See the Numeric Python site (http://numpy.scipy.org) for information on downloading source or binaries.
Traceback (most recent call last):
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", line 70, in <module>
    from gui_modules import colorrules
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/colorrules.py", line 46, in <module>
    from nviz_mapdisp import wxUpdateProperties
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/nviz_mapdisp.py", line 46, in <module>
    import wxnviz
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/wxnviz.py", line 30, in <module>
    from numpy import matrix
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/__init__.py", line 137, in <module>
    import add_newdocs
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/lib/__init__.py", line 4, in <module>
    from type_check import *
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/lib/type_check.py", line 8, in <module>
    import numpy.core.numeric as _nx
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/__init__.py", line 5, in <module>
    import multiarray
ImportError: dlopen(/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/multiarray.so, 2): no suitable image found.  Did find:
	/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/multiarray.so: mach-o, but wrong architecture
Launching 'wxpython' GUI in the background, please wait...
GRASS 7.0.svn (spearfish60 at PERMANENT):~ > wxplot.py: This module requires the NumPy module, which could not be imported. It probably is not installed (it's not part of the standard Python distribution). See the Numeric Python site (http://numpy.scipy.org) for information on downloading source or binaries.
Traceback (most recent call last):
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", line 70, in <module>
    from gui_modules import colorrules
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/colorrules.py", line 46, in <module>
    from nviz_mapdisp import wxUpdateProperties
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/nviz_mapdisp.py", line 46, in <module>
    import wxnviz
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/wxnviz.py", line 30, in <module>
    from numpy import matrix
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/__init__.py", line 137, in <module>
    import add_newdocs
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/lib/__init__.py", line 4, in <module>
    from type_check import *
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/lib/type_check.py", line 8, in <module>
    import numpy.core.numeric as _nx
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/__init__.py", line 5, in <module>
    import multiarray
ImportError: dlopen(/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/multiarray.so, 2): no suitable image found.  Did find:
	/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/multiarray.so: mach-o, but wrong architecture
Launching 'wxpython' GUI in the background, please wait...
GRASS 7.0.svn (spearfish60 at PERMANENT):~ > wxplot.py: This module requires the NumPy module, which could not be imported. It probably is not installed (it's not part of the standard Python distribution). See the Numeric Python site (http://numpy.scipy.org) for information on downloading source or binaries.
Traceback (most recent call last):
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", line 70, in <module>
    from gui_modules import colorrules
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/colorrules.py", line 46, in <module>
    from nviz_mapdisp import wxUpdateProperties
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/nviz_mapdisp.py", line 46, in <module>
    import wxnviz
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_modules/wxnviz.py", line 30, in <module>
    from numpy import matrix
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/__init__.py", line 137, in <module>
    import add_newdocs
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/lib/__init__.py", line 4, in <module>
    from type_check import *
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/lib/type_check.py", line 8, in <module>
    import numpy.core.numeric as _nx
  File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/__init__.py", line 5, in <module>
    import multiarray
ImportError: dlopen(/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/multiarray.so, 2): no suitable image found.  Did find:
	/Library/Python/2.7/site-packages/numpy-2.0.0.dev_35952aa_20111005-py2.7-macosx-10.7-x86_64.egg/numpy/core/multiarray.so: mach-o, but wrong architecture



More information about the grass-dev mailing list