[GRASS-dev] compiling animation, mapswipe, etc.

William Kyngesburye woklist at kyngchaos.com
Fri Nov 30 07:08:37 PST 2012


This could happen if you configured for wxPython 2.9 64bit, but didn't bundle it so it finds the old 32bit wxPython 2.8 in the system at runtime.  If you configure for wxPython 2.8 you should not get arch errors, at least if you make sure to configure 32+64bit.


On Nov 29, 2012, at 11:03 PM, Helena Mitasova wrote:

> Just a note that when compiling trunk on
> 
> MacOSX 10.6.8, running python2.6
> 
> I get Errors in:
> /Users/helena/grassdev7/grass_trunk/general/g.version
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/animation
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/mapswipe
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/gmodeler
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/rlisetup
> 
> but mapswipe and gmodeler works anyway, 
> unfortunately animation does not although they all show the same error (see below).
> 
> Helena
> 
> 
> Traceback (most recent call last):
>  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/scripts/g.gui.animation", line 42, in <module>
>    import wx
>  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>
>  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>
> ImportError: /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
> make: *** [g.gui.animation.tmp.html] Error 1
> 
> Traceback (most recent call last):
>  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/scripts/g.gui.mapswipe", line 40, in <module>
>    import  wx
>  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>
>  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>
> ImportError: /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
> make: *** [g.gui.mapswipe.tmp.html] Error 1
> 

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin




More information about the grass-dev mailing list