[GRASS-user] GRASS-7.0svn: Build Error ... Again

Rich Shepard rshepard at appl-ecosys.com
Fri May 2 10:48:40 PDT 2014


   A few weeks ago I was able to successfully build 7.0svn after fixing a
wxPython issue. Just now I grabbed the latest updates, configured, and ran
'make'.

   The build halted with an error in ../gui/wxpython. Changing to that
subdirectory I ran make with this result:

/usr/bin/ginstall -c  -m 644 xml/menudata_modeler.xml
/ /home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/gui/wxpython/xml/menudata_modeler.xml
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 python core/toolboxes.py > xml/menudata.xml
Traceback (most recent call last):
   File "core/toolboxes.py", line 757, in <module>
     sys.exit(main())
   File "core/toolboxes.py", line 743, in main
     userDefined=False)
   File "core/toolboxes.py", line 188, in createTree
     mainMenu = etree.parse(distributionRootFile)
   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
     tree.parse(source, parser)
   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
     source = open(source, "rb")
IOError: [Errno 2] No such file or directory:
'/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/gui/wxpython/xml/main_menu.xml'
make: *** [xml/menudata.xml] Error 1

However,

[rshepard at salmo ~/GIS/GRASS/grass-7.0svn/gui/wxpython]$ ls xml/
grass-gxm.dtd    menudata.xml              toolboxes.dtd
grass-gxw.dtd    menudata_modeler.xml      toolboxes.xml
main_menu.dtd    menudata_psmap.xml        wxgui_items.dtd
main_menu.xml    module_items.dtd          wxgui_items.xml
menudata.README  module_tree.xml
menudata.dtd     module_tree_menudata.xml

menudata.xml and main_menu.xml are present. Now, main_menu.xml was last
updated/accessed March 11 and is 488 bytes. Because that was not read for
some reason, menudata.xml has 0 bytes.

   Any thoughts on what went off the rails? Should I try by specifying
python3?

Rich


More information about the grass-user mailing list