#1819: problems compiling map swipe, animation, modeler, and r.li.setup
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: MacOSX
Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
A recent problem has emerged with compiling several wxPython related
modules, including map swipe, animation, modeler and r.li.setup. At least
map swipe and modeler compiled a month ago. This may be primarily a Mac
issue, but I don't know if there are problems on Window or not.
Here is the error (r.li.setup example):
{{{
anthgradpc7:g.version cmbarton$ cd
/Users/Shared/grass_dev/grass7_dev/gui/wxpython/rlisetup
anthgradpc7:rlisetup cmbarton$ make
if [ "/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/scripts/g.gui.rlisetup" != "" ] ; then
GISRC=/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/demolocation/.grassrc70
GISBASE=/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0
PATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/bin:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/bin:$PATH"
PYTHONPATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/etc/python:/Users/Shared/grass_dev/grass7_dev/dist.x86_64
-apple-darwin12.2.0/etc/python:$PYTHONPATH"
DYLD_LIBRARY_PATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/bin:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/lib:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/lib:" LC_ALL=C /Users/Shared/grass_dev/grass7_dev/dist.x86_64
-apple-darwin12.2.0/scripts/g.gui.rlisetup --html-description < /dev/null
| grep -v '</body>\|</html>' > g.gui.rlisetup.tmp.html ; fi
Traceback (most recent call last):
File "/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
darwin12.2.0/scripts/g.gui.rlisetup", line 32, in <module>
import wx
File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-
packages/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>
from wx._core import *
File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-
packages/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>
import _core_
ImportError: /usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-
packages/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.rlisetup.tmp.html] Error 1
rm g.gui.rlisetup.tmp.html
}}}
This may or may not be limited to current OS X systems (10.8 and/or 10.7).
No test yet on older OS X 10.6
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1819>
GRASS GIS <http://grass.osgeo.org>