[GRASS-user] GRASS-7svn: Specify wxPython Version

Rich Shepard rshepard at appl-ecosys.com
Mon Jul 27 11:48:58 PDT 2015


On Mon, 27 Jul 2015, Rich Shepard wrote:

>  Found the solution; perhaps this will help others in the future.
>  Add these lines to wxgui.py:

   Turns out to be a lot more complicated. It's always the tplot module that
fails, so I added the wxversion.select() to all *.py modules. Makes no
difference. Still fails to find wxPython and it looks in a hard-coded
directory, where it should find wxPython-2.8.12.2 if not -3.0.2.0.
wxGTK-2.8.12-i486-3 is install, too.

make[1]: Entering directory
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/tplot'
GISRC=/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/demolocation/.grassrc71
GISBASE=/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu
PATH="/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts:$PATH"
PYTHONPATH="/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/etc/python:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/gui/wxpython:$PYTHONPATH"
LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/lib:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
LC_ALL=C
/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts/g.gui.tplot
--html-description < /dev/null | grep -v '</body>\|</html>' >
-- g.gui.tplot.tmp.html
ERROR: wxGUI requires wxPython.
/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so: symbol
_ZTV14wxGraphicsPath, version WXU_2.8 not defined in file
libwx_gtk2u_core-2.8.so.0 with link time reference
make[1]: *** [g.gui.tplot.tmp.html] Error 1
rm g.gui.tplot.tmp.html
make[1]: Leaving directory
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/tplot'
make: *** [guiscript] Error 2

Rich


More information about the grass-user mailing list