[GRASS-dev] compiling 7.0 on MacOS 10.9

Vaclav Petras wenzeslaus at gmail.com
Wed Apr 2 07:10:28 PDT 2014


On Wed, Apr 2, 2014 at 4:37 AM, epi <massimodisasha at gmail.com> wrote:

>
> the build ends with Errors in:
> /Users/epi/dev/grass7_trunk/lib/nviz
> /Users/epi/dev/grass7_trunk/misc/m.nviz.image
>

This looks like a problem to link OpenGL.


> /Users/epi/dev/grass7_trunk/visualization/wximgview
>
> This looks like a problem to link wxWidgets (the C++ library, not the
Python binding wxPython).


> The modules are all fully functionals but because i use python from
> home-brew as well (not the system one)
> it is 64 bit and is not compatible with wx-2.8 … i have wx3.0 installed
> (that’s 64bit) but the main gui doesn’t start.
> This the log from :
>
>  g.gui gui=wxpython
>
> Launching <wxpython> GUI in the background, please wait...
> GRASS 7.0.svn (nc_spm_08_grass7):~ > Traceback (most recent call last):
>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/wxgui.py", line 143, in
> <module>
>     ...
>     self._menuTreeBuilder = LayerManagerMenuData()
>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/lmgr/menudata.py", line
> 40, in __init__
>     MenuTreeModelBuilder.__init__(self, filename,
> expandAddons=expandAddons)
>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/core/menutree.py", line
> 69, in __init__
>     xmlTree = etree.parse(filename)
>   ...
>   File
> "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py",
> line 1506, in _raiseerror
>     raise err
> xml.etree.ElementTree.ParseError: no element found: line 1, column 0
>
> This is probably caused by the fact that compilation for gui/wxpython/xml
failed. I secretly hoped that this will be improved by r59485, are you
using that version? The workaround used before was delete
dist.../etc/gui/wxpython/xml and then run compilation of gui/wxpython
inside GRASS session.

https://trac.osgeo.org/grass/changeset/59485 (modify Rules.make to fix
build_modules_xml.py on Windows (TODO: replace this workaround))
http://lists.osgeo.org/pipermail/grass-dev/2014-March/067876.html (get
interface description for python modules on Windows)
>
>
> the wx dialog for (most but not all **) the grass modules, works fine.

> ** command like g.region, r.mask and others do not lunch a gui dialog when
> type their name in the grass shell.
>
> This is actually standard behavior. Probably not documented well. This is
how g.region parameters are handled. Use `g.region --ui`.


> Massimo.
>
> On Apr 2, 2014, at 9:48 AM, Micha Silver <micha at arava.co.il> wrote:
>
>  Has anyone compiled GRASS 7.0 on MacOS Mavricks? Any tips?
> Thanks,
>
> --
> Micha Silver
> GIS Consulting
> 052-3665918http://www.surfaces.co.il
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140402/c23be7cf/attachment-0001.html>


More information about the grass-dev mailing list