On Mon, Oct 14, 2013 at 12:19 PM, Cesar Augusto Ramírez Franco < [email protected]> wrote:
> To be able to install grass addons in 6.4.3 you need to install the > grass-dev package with sudo apt-get install grass-dev and then issue the > g.extension command > > Maybe, GRASS, namely g.extension, should identify the error (e.g. check the include/Make directory) and report an error with a suggestion (if on linux: "Check that you have package ..."). But this might be very different for various distributions. Probably also the package description and suggested/related packages should provide some information. > Regards > > > 2013/10/14 Johannes Radinger <[email protected]> > >> Hi all, >> >> I want to install G7 and G6.4.3 as well as several add-ons on a freshly >> installed Xubuntu (12.04) machine (Virtualbox) for testing purposes. >> Therefore I run following commands after Xubuntu installation and update of >> the system: >> >> sudo add-apt-repository ppa:grass/grass-devel >> sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable >> sudo apt-get update >> sudo apt-get install grass643 grass70 grass-gui grass70-gui >> >> However after successful installation I run into following two problems: >> >> 1) When I try to launch G7-gui (e.g. with standard NC example dataset) I >> get following error: >> >> Launching <wxpython> GUI in the background, please wait... >> GRASS 7.0.svn (nc_basic_spm_grass7):~ > Traceback (most recent call last): >> File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 143, in <module> >> sys.exit(main()) >> File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 136, in main >> app = GMApp(workspaceFile) >> File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 50, in __init__ >> wx.App.__init__(self, False) >> File >> "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line >> 7981, in __init__ >> self._BootstrapApp() >> File >> "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line >> 7555, in _BootstrapApp >> return _core_.PyApp__BootstrapApp(*args, **kwargs) >> File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 84, in OnInit >> workspace = self.workspaceFile) >> File "/usr/lib/grass70/etc/gui/wxpython/lmgr/frame.py", line 108, in >> __init__ >> self._menuTreeBuilder = LayerManagerMenuData() >> File "/usr/lib/grass70/etc/gui/wxpython/lmgr/menudata.py", line 40, in >> __init__ >> MenuTreeModelBuilder.__init__(self, filename, >> expandAddons=expandAddons) >> File "/usr/lib/grass70/etc/gui/wxpython/core/menutree.py", line 69, in >> __init__ >> xmlTree = etree.parse(filename) >> File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1183, in parse >> tree.parse(source, parser) >> File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse >> self._root = parser.close() >> File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1655, in close >> self._raiseerror(v) >> File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in >> _raiseerror >> raise err >> xml.etree.ElementTree.ParseError: no element found: line 1, column 0 >> >> 2) G6.4.3. and its gui can be properly launched (no problems like >> mentioned in point 1). So here I tried to install add.ons. There I ran >> g.extension from the grass terminal but face following problem: >> >> >> GRASS 6.4.3 (gisdemo_ncspm):~ > g.extension extension=r.stream.order >> >> Fetching <r.stream.order> from GRASS-Addons SVN (be patient)... >> WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-U4bRKD/pkcs11: >> No such file or directory >> A r.stream.order/main.c >> A r.stream.order/description.html >> A r.stream.order/global.h >> A r.stream.order/io.c >> A r.stream.order/r_stream_order_orders.png >> A r.stream.order/order.c >> A r.stream.order/Makefile >> U r.stream.order >> Checked out revision 57991. >> Compiling <r.stream.order>... >> Makefile:12: /usr/lib/grass64/include/Make/Module.make: No such file or >> directory >> make: *** No rule to make target >> `/usr/lib/grass64/include/Make/Module.make'. Stop. >> ERROR: Compilation failed, sorry. Please check above error messages. >> >> >> So does anyone have an idea what may cause the problems. I don't think >> that the problems are related nor are they caused by my Xubuntu-Virtualbox >> setup. Do I miss any modules/packages/software that I need to install prior >> to grass? Or do I need to use different ppas for installing grass? Any help >> is of course mostly welcome! >> >> Best regards, >> Johannes >> >> _______________________________________________ >> grass-user mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/grass-user >> > > > > -- > *César Augusto Ramírez Franco* > Tecnólogo en Telecomunicaciones - ITM > Técnico certificado en Mantenimiento de Computadores - CESDE > Móvil: 301 389 5607 > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
