<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Apr 2, 2014, at 4:10 PM, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com">wenzeslaus@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br class="Apple-interchange-newline"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">On Wed, Apr 2, 2014 at 4:37 AM, epi<span class="Apple-converted-space"> </span></span><span dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><<a href="mailto:massimodisasha@gmail.com" target="_blank">massimodisasha@gmail.com</a>></span><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;"> </span><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; 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 style="word-wrap: break-word;"><div><br></div><div><div>the build ends with Errors in:</div><div>/Users/epi/dev/grass7_trunk/lib/nviz</div><div>/Users/epi/dev/grass7_trunk/misc/m.nviz.image</div></div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">This looks like a problem to link OpenGL.<br></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> </div></blockquote><div><br></div><div>That’s correct, for some reason seems that it doesn’t detect the right architecture :</div><div><br></div><div><br></div><div>###</div><div><div>MacBook-Pro-di-Massimo-2:nviz epi$ make</div><div>cc -dynamiclib -compatibility_version 7.1 -current_version 7.1 -install_name /usr/local/grass-7.1.svn/lib/libgrass_nviz.7.1.svn.dylib -o /Users/epi/dev/grass7_trunk/dist.x86_64-apple-darwin13.1.0/lib/libgrass_nviz.7.1.svn.dylib -L/Users/epi/dev/grass7_trunk/dist.x86_64-apple-darwin13.1.0/lib -L/Users/epi/dev/grass7_trunk/dist.x86_64-apple-darwin13.1.0/lib -L/usr/local/opt/tcl-tk/lib  -arch x86_64    OBJ.x86_64-apple-darwin13.1.0/change_view.o OBJ.x86_64-apple-darwin13.1.0/cplanes_obj.o OBJ.x86_64-apple-darwin13.1.0/draw.o OBJ.x86_64-apple-darwin13.1.0/exag.o OBJ.x86_64-apple-darwin13.1.0/lights.o OBJ.x86_64-apple-darwin13.1.0/map_obj.o OBJ.x86_64-apple-darwin13.1.0/nviz.o OBJ.x86_64-apple-darwin13.1.0/position.o OBJ.x86_64-apple-darwin13.1.0/render.o  -lgrass_ogsf.7.1.svn -lgrass_gis.7.1.svn -L/opt/X11/lib/  -lGL     </div><div>Undefined symbols for architecture x86_64:</div><div>  "_XCloseDisplay", referenced from:</div><div>      _Nviz_destroy_render_window in render.o</div><div>  "_XCreatePixmap", referenced from:</div><div>      _Nviz_create_render_window in render.o</div><div>  "_XFree", referenced from:</div><div>      _Nviz_create_render_window in render.o</div><div>  "_XFreePixmap", referenced from:</div><div>      _Nviz_destroy_render_window in render.o</div><div>  "_XOpenDisplay", referenced from:</div><div>      _Nviz_create_render_window in render.o</div><div>ld: symbol(s) not found for architecture x86_64</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>make: *** [/Users/epi/dev/grass7_trunk/dist.x86_64-apple-darwin13.1.0/lib/libgrass_nviz.7.1.svn.dylib] Error 1</div><div>###</div><div><br></div><div><div>MacBook-Pro-di-Massimo-2:~ epi$ file /opt/X11/lib/libGL.dylib</div><div>/opt/X11/lib/libGL.dylib: Mach-O universal binary with 2 architectures</div><div>/opt/X11/lib/libGL.dylib (for architecture i386):<span class="Apple-tab-span" style="white-space:pre">       </span>Mach-O dynamically linked shared library i386</div><div>/opt/X11/lib/libGL.dylib (for architecture x86_64):<span class="Apple-tab-span" style="white-space:pre">     </span>Mach-O 64-bit dynamically linked shared library x86_64</div></div><div><br></div></div><br><blockquote type="cite"><blockquote class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; 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 style="word-wrap: break-word;"><div>/Users/epi/dev/grass7_trunk/visualization/wximgview</div><div><br></div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">This looks like a problem to link wxWidgets (the C++ library, not the Python binding wxPython).</div></blockquote><div><br></div><div><br></div><div>i fixed this adding a sim. link in use/local</div><div><br></div><div>ln -s /usr/local/Cellar/wxmac/3.0.0.0/lib/libwx_osx_cocoau-3.0.0.0.0.dylib /usr/local/lib/</div><div><br></div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> </div><blockquote class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; 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 style="word-wrap: break-word;"><div></div><div>The modules are all fully functionals but because i use python from home-brew as well (not the system one)</div><div>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. </div><div>This the log from :</div><div><br></div><div> g.gui gui=wxpython</div><div><br></div><div><div>Launching <wxpython> GUI in the background, please wait...</div><div>GRASS 7.0.svn (nc_spm_08_grass7):~ > Traceback (most recent call last):</div><div>  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/wxgui.py", line 143, in <module></div><div>    ...</div><div>    self._menuTreeBuilder = LayerManagerMenuData()</div><div>  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/lmgr/menudata.py", line 40, in __init__</div><div>    MenuTreeModelBuilder.__init__(self, filename, expandAddons=expandAddons)</div><div>  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/core/menutree.py", line 69, in __init__</div><div>    xmlTree = etree.parse(filename)</div><div> <span class="Apple-converted-space"> </span>...</div><div> <span class="Apple-converted-space"> </span>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</div><div>   <span class="Apple-converted-space"> </span>raise err</div><div>xml.etree.ElementTree.ParseError: no element found: line 1, column 0</div></div><div><br></div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">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.</div><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div></blockquote><div><br></div><div>thanks! i followed this procedure, now the gui starts :) and it is usable.</div><div><br></div><div>a problem witth Wx font already reported previously :</div><div><br></div><div><a href="http://lists.osgeo.org/pipermail/grass-dev/2013-December/066536.html">http://lists.osgeo.org/pipermail/grass-dev/2013-December/066536.html</a></div><div><br></div><div>is still here, i have this log printed in the shell all the time i use the gui :</div><div><br></div><div>2014-04-02 23:31:51.720 Python[78021:d07] CoreText performance note: Client called CTFontCreateWithName() using name ".Lucida Grande UI" and got font with PostScript name ".LucidaGrandeUI". For best performance, only use PostScript names when calling this API.</div><div><br></div><div><br></div><div><br></div><div>i know it is a known problem,</div><div><a href="http://forums.wxwidgets.org/viewtopic.php?f=23&t=38311">http://forums.wxwidgets.org/viewtopic.php?f=23&t=38311</a></div><div> i hoped it was a 2.9 bug … while it still here with wx3.0</div><div><br></div><br><blockquote type="cite"><a href="https://trac.osgeo.org/grass/changeset/59485" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">https://trac.osgeo.org/grass/changeset/59485</a><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;"><span class="Apple-converted-space"> </span>(modify Rules.make to fix build_modules_xml.py on Windows (TODO: replace this workaround))</span><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a href="http://lists.osgeo.org/pipermail/grass-dev/2014-March/067876.html">http://lists.osgeo.org/pipermail/grass-dev/2014-March/067876.html</a><span class="Apple-converted-space"> </span>(get interface description for python modules on Windows)</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">><br>><br>> the wx dialog for (most but not all **) the grass modules, works fine.</div><blockquote class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; 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 style="word-wrap: break-word;"><div>** command like g.region, r.mask and others do not lunch a gui dialog when type their name in the grass shell.</div><div><br></div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">This is actually standard behavior. Probably not documented well. This is how g.region parameters are handled. Use `g.region --ui`.</div></blockquote><div><br></div><div>i was aware that’s the standard behavior, but i found it a bit incoherent compared with what the other modules do. </div><div>Is there any reason for that ?</div><div><br></div><div>thanks!</div><div><br></div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> </div><blockquote class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; 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 style="word-wrap: break-word;"><div><div></div><div>Massimo.</div><div><div class="h5"><div><br></div><div>On Apr 2, 2014, at 9:48 AM, Micha Silver <<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>> wrote:</div><br></div></div><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; direction: ltr;"><div><div class="h5"><font size="+1">Has anyone compiled GRASS 7.0 on MacOS Mavricks? Any tips?<br>Thanks,<br><br></font><pre cols="72">-- 
Micha Silver
GIS Consulting
052-3665918
<a href="http://www.surfaces.co.il/" target="_blank">http://www.surfaces.co.il</a>
</pre></div></div>_______________________________________________<br>grass-dev mailing list<br><a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a></div></blockquote></div><br></div><br>_______________________________________________<br>grass-dev mailing list<br><a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a></blockquote></blockquote></div><br></body></html>