[GRASS-dev] compile error in grass-6.4.0RC1/gui/wxpython

Otto Dassau otto.dassau at gmx.de
Thu Jan 8 09:36:22 EST 2009


On Thu, 8 Jan 2009 15:20:55 +0100
"Martin Landa" <landa.martin at gmail.com> wrote:

> Hi,
> 
> 2009/1/7 Glynn Clements <glynn at gclements.plus.com>:
> >
> > Martin Landa wrote:
> >
> >> > make[3]: Entering directory
> >> > `/usr/src/packages/BUILD/grass-6.4.0RC1/gui/wxpython' python
> >> > gui_modules/menudata.py
> >> > /usr/src/packages/BUILD/grass-6.4.0RC1/dist.i686-pc-linux-gnu >
> >> > menustrings.py
> >> > Traceback (most recent call last): File "gui_modules/menudata.py", line
> >> > 24, in
> >> > <module> import elementtree.ElementTree as etree # Python <= 2.4
> >> > ImportError: No module named elementtree.ElementTree
> >>
> >> in Debian it's python-elementtree.
> >
> > What? As in, they renamed the module so it doesn't work?
> >
> > elementtree.ElementTree (xml.etree.ElementTree in >= 2.5) is part of
> > the core Python library, which is expected to be installed alongside
> > Python.
> 
> hm, it seems to me that if you are using python <= 2.4 you need to
> install python-elementtree package - at least on Debian.

the problem above occurs with opensuse 11.0 (python 2.5.2). Maybe this
information is helpful:
http://lists.opensuse.org/opensuse-factory/2007-02/msg00177.html

 Otto

> Martin
> 


More information about the grass-dev mailing list