<div dir="ltr"><div>Thanks Glynn for checking this.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 28, 2013 at 4:47 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><br>
Vaclav Petras wrote:<br>
<br>
> Anna and I are trying to compile GRASS 7 on Mac OS 10.8. Although there<br>
> were some problems we were able to compile it.<br>
><br>
> But than we were not able to start GRASS because initialization ended with<br>
> the error message about missing X Window system. This comes from<br>
> init/grass.py where it checks for DISPLAY variable. The variable is not<br>
> set. Do we need it to test it for GRASS7 and Mac OS? Setting to any value<br>
> (e.g., export DISPLAY=0) solved the problem.<br>
<br>
</div>That's a bug in grass.py:<br>
<br>
    if os.getenv('DISPLAY') or windows:<br>
<br>
That should probably be:<br>
<br>
    if os.getenv('DISPLAY') or windows or macosx:<br>
<div class="im"><br></div></blockquote><div>Done in r57536.</div><div><br></div><div><a href="https://trac.osgeo.org/grass/changeset/57536">https://trac.osgeo.org/grass/changeset/57536</a><br><div><br></div></div><div> </div>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
> The second error appears when we try to launch GUI from command line using<br>
> g.gui (i.e., the error does not happen during GRASS launch):<br>
><br>
>  wxgui.py: posix_spawn: /Users/...wxpython/wxgui.py2.7: No such file or<br>
> directory<br>
><br>
> Changing the second parameter of G_spawn_ex to a 'python' instead of a<br>
> 'python source' solved the problem:<br>
<br>
</div>That looks fine. When executing a script from the shell, argv[0] is<br>
the path to the interpreter rather than that of the script.</blockquote><div><br></div><div>Done in r57537.</div><div><br></div><div><a href="https://trac.osgeo.org/grass/changeset/57537">https://trac.osgeo.org/grass/changeset/57537</a><br>

</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><font color="#888888"><br>
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></span></blockquote></div><br></div></div>