<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 15, 2014 at 11:07 AM, Johannes Radinger <span dir="ltr"><<a href="mailto:johannesradinger@gmail.com" target="_blank">johannesradinger@gmail.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 dir="ltr"><font face="arial, helvetica, sans-serif">Hi,</font><div>
<font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I try to install add-ons on GRASS GIS 7 beta on Mac OSX (10.9).</font></div>
<div><font face="arial, helvetica, sans-serif">G7 has been installed including all frameworks from <a href="http://grassmac.wikidot.com/downloads" target="_blank">http://grassmac.wikidot.com/downloads</a></font></div><div>
<font face="arial, helvetica, sans-serif">(snapshot from 11.08.2014, GRASS 7.0.0svn (r61585M)).</font></div></div></blockquote><div><br></div><div>I tested r.fuzzy.system on Windows and Mac and it's working for me...</div>
<div><br></div><div>This part is weird:</div><div><span style="font-family:arial,helvetica,sans-serif">/bin/sh: Radinger-2668/gisrc: No such file or directory</span><br></div><div><br></div><div>Anna </div><div><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"><div dir="ltr">
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Now I'd like to install add-ons but neither the g.extension gui</font></div><div><font face="arial, helvetica, sans-serif">nor running g.extension via command line works (tested with</font></div>
<div><font face="arial, helvetica, sans-serif">2-3 extensions)</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">1) via GUI:</font></div><div><div>
<font face="arial, helvetica, sans-serif">g.extension --verbose extension=r.fuzzy.system svnurl=<a href="http://svn.osgeo.org/grass/grass-addons/grass7" target="_blank">http://svn.osgeo.org/grass/grass-addons/grass7</a></font></div>
<div><font face="arial, helvetica, sans-serif">Fetching <r.fuzzy.system> from GRASS-Addons SVN (be patient)...</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/flood.map</font></div><div>
<font face="arial, helvetica, sans-serif">A r.fuzzy.system/helpers.c</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/local_proto.h</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/flood.rul</font></div>
<div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/rule_parser.c</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/main.c</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/system.c</font></div>
<div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/f_result.png</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/fuzzylogic.c</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/io.c</font></div>
<div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/map_parser.c</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/Makefile</font></div><div><font face="arial, helvetica, sans-serif">A r.fuzzy.system/r.fuzzy.system.html</font></div>
<div><font face="arial, helvetica, sans-serif"> U r.fuzzy.system</font></div><div><font face="arial, helvetica, sans-serif">Checked out revision 61649.</font></div><div><font face="arial, helvetica, sans-serif">Compiling...</font></div>
<div><font face="arial, helvetica, sans-serif">mkdir -p /var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/tmptRWIEo/r.fuzzy.system/bin</font></div><div><font face="arial, helvetica, sans-serif">mkdir -p /var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/tmptRWIEo/r.fuzzy.system/etc/r.fuzzy.system</font></div>
<div><font face="arial, helvetica, sans-serif">mkdir -p /var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/tmptRWIEo/r.fuzzy.system/docs/html</font></div><div><font face="arial, helvetica, sans-serif">mkdir -p /var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/tmptRWIEo/r.fuzzy.system/docs/man/man1</font></div>
<div><font face="arial, helvetica, sans-serif">test -d OBJ.x86_64-apple-darwin13.3.0 || mkdir -p OBJ.x86_64-apple-darwin13.3.0</font></div><div><font face="arial, helvetica, sans-serif">gcc -I/usr/local/include -g -O2 -arch i386 -arch x86_64 -I/usr/local/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -DPACKAGE=\""grassmods"\" -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -o OBJ.x86_64-apple-darwin13.3.0/fuzzylogic.o -c fuzzylogic.c</font></div>
<div><font face="arial, helvetica, sans-serif">gcc -I/usr/local/include -g -O2 -arch i386 -arch x86_64 -I/usr/local/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -DPACKAGE=\""grassmods"\" -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -o OBJ.x86_64-apple-darwin13.3.0/helpers.o -c helpers.c</font></div>
<div><font face="arial, helvetica, sans-serif">gcc -I/usr/local/include -g -O2 -arch i386 -arch x86_64 -I/usr/local/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -DPACKAGE=\""grassmods"\" -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -o OBJ.x86_64-apple-darwin13.3.0/io.o -c io.c</font></div>
<div><font face="arial, helvetica, sans-serif">gcc -I/usr/local/include -g -O2 -arch i386 -arch x86_64 -I/usr/local/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -DPACKAGE=\""grassmods"\" -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -o OBJ.x86_64-apple-darwin13.3.0/main.o -c main.c</font></div>
<div><font face="arial, helvetica, sans-serif">gcc -I/usr/local/include -g -O2 -arch i386 -arch x86_64 -I/usr/local/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -DPACKAGE=\""grassmods"\" -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -o OBJ.x86_64-apple-darwin13.3.0/map_parser.o -c map_parser.c</font></div>
<div><font face="arial, helvetica, sans-serif">gcc -I/usr/local/include -g -O2 -arch i386 -arch x86_64 -I/usr/local/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -DPACKAGE=\""grassmods"\" -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -o OBJ.x86_64-apple-darwin13.3.0/rule_parser.o -c rule_parser.c</font></div>
<div><font face="arial, helvetica, sans-serif">gcc -I/usr/local/include -g -O2 -arch i386 -arch x86_64 -I/usr/local/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -DPACKAGE=\""grassmods"\" -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -I/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/include -o OBJ.x86_64-apple-darwin13.3.0/system.o -c system.c</font></div>
<div><font face="arial, helvetica, sans-serif">system.c:122:11: warning: 7 enumeration values not handled</font></div><div><font face="arial, helvetica, sans-serif">in switch: 't_START', 't_IS_NOT', 't_IS'... [-Wswitch]</font></div>
<div><font face="arial, helvetica, sans-serif"> switch (operator_stack[opr_top]) {</font></div><div><font face="arial, helvetica, sans-serif"> ^</font></div><div><font face="arial, helvetica, sans-serif">: && gcc -L/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib -L/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib -arch i386 -arch x86_64 -L/usr/local/lib -o /var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/tmptRWIEo/r.fuzzy.system/bin/r.fuzzy.system OBJ.x86_64-apple-darwin13.3.0/fuzzylogic.o OBJ.x86_64-apple-darwin13.3.0/helpers.o OBJ.x86_64-apple-darwin13.3.0/io.o OBJ.x86_64-apple-darwin13.3.0/main.o OBJ.x86_64-apple-darwin13.3.0/map_parser.o OBJ.x86_64-apple-darwin13.3.0/rule_parser.o OBJ.x86_64-apple-darwin13.3.0/system.o -lgrass_raster.7.0.0svn -lgrass_gis.7.0.0svn </font></div>
<div><font face="arial, helvetica, sans-serif">1 warning generated.</font></div><div><font face="arial, helvetica, sans-serif">system.c:122:11: warning: 7 enumeration values not handled</font></div><div><font face="arial, helvetica, sans-serif">in switch: 't_START', 't_IS_NOT', 't_IS'... [-Wswitch]</font></div>
<div><font face="arial, helvetica, sans-serif"> switch (operator_stack[opr_top]) {</font></div><div><font face="arial, helvetica, sans-serif"> ^</font></div><div><font face="arial, helvetica, sans-serif">1 warning generated.</font></div>
<div><font face="arial, helvetica, sans-serif">/bin/sh: Radinger-2668/gisrc: No such file or directory</font></div><div><font face="arial, helvetica, sans-serif">make: *** [r.fuzzy.system.tmp.html] Error 1</font></div><div>
<font face="arial, helvetica, sans-serif">ERROR: Compilation failed, sorry. Please check above error messages.</font></div><div><font face="arial, helvetica, sans-serif">if [ "/var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/tmptRWIEo/r.fuzzy.system/bin/r.fuzzy.system" != "" ] ; then GISRC=/var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/grass7-Johannes Radinger-2668/gisrc GISBASE=/Applications/GRASS/GRASS-7.0.app/Contents/MacOS PATH="/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/bin:/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/bin:/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/scripts:$PATH" PYTHONPATH="/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/python:/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/gui/wxpython:$PYTHONPATH" DYLD_LIBRARY_PATH="/var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/tmptRWIEo/r.fuzzy.system/bin:/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/scripts:/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib:/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib:/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/lib:/Users/Johannes Radinger/Library/GRASS/7.0/Modules/lib:/Library/GRASS/7.0/Modules/lib" LC_ALL=C /var/folders/z6/kpf8b53j04vcgq71ycrqzs040000gq/T/tmptRWIEo/r.fuzzy.system/bin/r.fuzzy.system --html-description < /dev/null | grep -v '</body>\|</html>' > r.fuzzy.system.tmp.html ; fi</font></div>
<div><font face="arial, helvetica, sans-serif">rm r.fuzzy.system.tmp.html</font></div></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div>
<div>
<font face="arial, helvetica, sans-serif">2) command line:</font></div><div><p style="margin:0px"><font face="arial, helvetica, sans-serif">GRASS 7.0.0svn (Test_XY):~ > g.extension extension=r.fuzzy.system</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">Fetching <r.fuzzy.system> from GRASS-Addons SVN (be patient)...</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">Compiling...</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif"><b>system.c:122:11: </b><span style="color:rgb(213,59,211)"><b>warning: </b></span><b>7 enumeration values not handled in switch: 't_START',</b></font></p>
<p style="margin:0px"><b><font face="arial, helvetica, sans-serif"> 't_IS_NOT', 't_IS'... [-Wswitch]</font></b></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif"> switch (operator_stack[opr_top]) {</font></p>
<p style="margin:0px;color:rgb(52,189,38)"><b><font face="arial, helvetica, sans-serif"> ^</font></b></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">1 warning generated.</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif"><b>system.c:122:11: </b><span style="color:rgb(213,59,211)"><b>warning: </b></span><b>7 enumeration values not handled in switch: 't_START',</b></font></p>
<p style="margin:0px"><b><font face="arial, helvetica, sans-serif"> 't_IS_NOT', 't_IS'... [-Wswitch]</font></b></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif"> switch (operator_stack[opr_top]) {</font></p>
<p style="margin:0px;color:rgb(52,189,38)"><b><font face="arial, helvetica, sans-serif"> ^</font></b></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">1 warning generated.</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">/bin/sh: Radinger-2668/gisrc: No such file or directory</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">make: *** [r.fuzzy.system.tmp.html] Error 1</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">FEHLER: Compilation failed, sorry. Please check above error messages.</font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif"><br></font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif">For other add-ons I get also error messages. E.g. for r.fidimo (python add-on)</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">I get:</font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif">GRASS 7.0.0svn (Test_XY):~ > g.extension extension=r.fidimo</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">Fetching <r.fidimo> from GRASS-Addons SVN (be patient)...</font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif">Compiling...</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">/bin/sh: Radinger-2668/gisrc: No such file or directory</font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif">make: *** [r.fidimo.tmp.html] Error 1</font></p>
<p style="margin:0px">
</p><p style="margin:0px"><font face="arial, helvetica, sans-serif">FEHLER: Compilation failed, sorry. Please check above error messages.</font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif"><br></font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif">Any suggestion. Do I need to install add-ons differently on a Mac, or</font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif">is this feature broken at the moment?</font></p>
<span class=""><font color="#888888">
<p style="margin:0px"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px"><font face="arial, helvetica, sans-serif">/Johannes</font></p></font></span></div></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><br></blockquote></div><br></div></div>