[GRASS-dev] grass7 on mac OSX

Massimo Di Stefano massimodisasha at gmail.com
Tue Jun 1 20:34:25 EDT 2010


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