[GRASS-user] g.extension -

Craig Aumann craigaumann at gmail.com
Fri Jan 31 12:56:09 PST 2014


Ok - so to work around the problem I compiled GRASS 70 with the following
flags following the instructions at

http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS

Not seeing any compilation errors.


CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \
--enable-largefile=yes \
--enable-64bit \
--with-libs=/usr/lib \
--with-nls \
--with-cxx \
--with-proj-share=/usr/share/proj \
--with-geos=/usr/bin/geos-config \
--with-readline \
--with-python=yes \
--with-wxwidgets \
--with-cairo \
--with-opengl-libs=/usr/include/GL \
--with-motif \
--with-tcltk-includes="/usr/include/tcl8.5" \
--with-ffmpeg=yes --with-ffmpeg-includes="/usr/include/libavcodec
/usr/include/libavformat /usr/include/libswscale /usr/include/libavutil" \
--with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" \
--with-postgres=no \
--with-postgresql=no \
--with-sqlite=yes \
--with-mysql=no \
--with-odbc=no

---------------------------------

When I start grass 70 I get:

Hit RETURN to continue
Starting GRASS GIS...
access: No such file or directory
ERROR: LOCATION </home/caumann/<UNKNOWN>> not available
Traceback (most recent call last):
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gis_set.py", line 48, in
<module>
    from gui_core.dialogs import TextEntryDialog
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/dialogs.py",
line 49, in <module>
    from gui_core.gselect import LocationSelect, MapsetSelect, Select, \
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/gselect.py",
line 59, in <module>
    import grass.temporal as tgis
  File "/usr/local/grass-7.0.svn/etc/python/grass/temporal/__init__.py",
line 29, in <module>
    from temporal_vector_algebra import *
  File
"/usr/local/grass-7.0.svn/etc/python/grass/temporal/temporal_vector_algebra.py",
line 436, in <module>
    m_overlay = pygrass.Module('v.overlay', quiet=True, run_=False)
  File
"/usr/local/grass-7.0.svn/etc/python/grass/pygrass/modules/interface/module.py",
line 252, in __init__
    tree = fromstring(self.xml)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1302, in XML
    return 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
Error in GUI startup. If necessary, please report this error to the GRASS
developers.
Switching to text mode now.

Hit RETURN to continue...
^CTraceback (most recent call last):
  File "/usr/local/bin/grass70", line 1324, in <module>
    set_data()
  File "/usr/local/bin/grass70", line 679, in set_data
    gui_startup()
  File "/usr/local/bin/grass70", line 700, in gui_startup
    sys.stdin.readline()
KeyboardInterrupt


-------------------------

What did I forget to include???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140131/a9a88661/attachment.html>


More information about the grass-user mailing list