[GRASS-dev] grass7 on mac OSX

Barton Michael Michael.Barton at asu.edu
Wed Jun 2 05:28:56 EDT 2010


It is not a wxPython 2.9 problem--or should not be. I think it is something else in the build system. Others are having the same problem with the current version.

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: www.public.asu.edu/~cmbarton, http://csdc.asu.edu










On Jun 2, 2010, at 2:34 AM, Massimo Di Stefano wrote:

> I succesfull build wxpython on snow leopard to be 32+64 bit against wx2.9 (svn version) <- is the only way to have wx with no "bitwise" problems on osx
> then i installed ctypesgen
> 
> tring to build grass70 i got the error in wxpython gui code
> re-running make inside its directory the error is not fixed.
> 
> i suppose this is related to wx version (2.9) instead of (2.8)
> so it shouldn't be a grass related problem ...
> 
> this is the log :
> 
> http://www.geofemengineering.it/data/grass_wxgui_log.txt
> 
> i wonder if it's possible to adapt grass-gui code to run under 2.9 too :-/
> 
> 
> i'm now recompiling ctypsegen on the system python to sede if it fix the grass.lib error
> 
> 
> Il giorno 01/giu/2010, alle ore 23.53, Martin Landa ha scritto:
> 
>> Hi,
>> 
>> 2010/6/1 Massimo Di Stefano <massimodisasha at gmail.com>:
>> 
>> [...]
>> 
>>> Traceback (most recent call last):
>>> File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", line 87, in <module>
>>>   import gui_modules.nviz_tools as nviz_tools
>>> File "/Users/Shared/source/grass_trunk/dist.i386-apple-darwin10.3.0/etc/gui/wxpython/gui_modules/nviz_tools.py", line 36, in <module>
>>>   from nviz_mapdisp import wxUpdateView as wxUpdateView
>>> File "/Users/Shared/source/grass_trunk/dist.i386-apple-darwin10.3.0/etc/gui/wxpython/gui_modules/nviz_mapdisp.py", line 41, in <module>
>>>   import wxnviz
>>> File "/Users/Shared/source/grass_trunk/dist.i386-apple-darwin10.3.0/etc/gui/wxpython/gui_modules/wxnviz.py", line 24, in <module>
>>>   from grass.lib.grass import *
>>> ImportError: No module named lib.grass
>> 
>> ctypes grass.lib (lib/python/ctypes) is missing in your installation
>> (ctypesgen required). wxGUI failure fixed in r42430.
>> 
>> Martin
>> 
>> -- 
>> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
> 



More information about the grass-dev mailing list