<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; ">
<div>Hi Anna,</div>
<div><br>
</div>
It works fine for me in GRASS 6.4, but does not work in GRASS 7. I get somewhat different errors on different machines. On both tested so far, GRASS_ADDON_BASE is correctly set: 
<div><br>
</div>
<div>GRASS 7.0.svn (nc_spm_08):~ > $GRASS_ADDON_BASE
<div>bash: /Users/cmbarton/Library/GRASS/7.0/Modules: is a directory</div>
<div><br>
</div>
<div>On one machine, GRASS_ADDON_PATH is also set. It is not set on the other one. This is odd of course because AFAICT, both are set in the Mac startup scripts.</div>
<div><br>
</div>
<div>On one machine (the one with GRASS_ADDON_PATH set), I get the errors reported below. On the other machine, I get the following different set of errors:</div>
<div><br>
</div>
<div>
<div>GRASS 7.0.svn (nc_spm_08):~ > g.extension extension=r.fuzzy</div>
<div>Fetching <r.fuzzy> from GRASS-Addons SVN (be patient)...</div>
<div>Compiling...</div>
<div>main.c: In function 'main':</div>
<div>main.c:152: warning: format not a string literal and no format arguments</div>
<div>main.c:156: warning: format not a string literal and no format arguments</div>
<div>main.c: In function 'main':</div>
<div>main.c:152: warning: format not a string literal and no format arguments</div>
<div>main.c:156: warning: format not a string literal and no format arguments</div>
<div>ERROR: MAPSET PERMANENT - permission denied</div>
<div>make[1]: *** [r.fuzzy.set.tmp.html] Error 1</div>
<div>ERROR: MAPSET PERMANENT - permission denied</div>
<div>make[1]: *** [r.fuzzy.logic.tmp.html] Error 1</div>
<div>main.c: In function 'main':</div>
<div>main.c:151: warning: format not a string literal and no format arguments</div>
<div>main.c:155: warning: format not a string literal and no format arguments</div>
<div>main.c:157: warning: format not a string literal and no format arguments</div>
<div>main.c: In function 'main':</div>
<div>main.c:151: warning: format not a string literal and no format arguments</div>
<div>main.c:155: warning: format not a string literal and no format arguments</div>
<div>main.c:157: warning: format not a string literal and no format arguments</div>
<div>map_parser.c: In function 'parse_map_file':</div>
<div>map_parser.c:92: warning: format not a string literal and no format arguments</div>
<div>map_parser.c: In function 'parse_map_file':</div>
<div>map_parser.c:92: warning: format not a string literal and no format arguments</div>
<div>rule_parser.c: In function 'parse_rules':</div>
<div>rule_parser.c:132: warning: format not a string literal and no format arguments</div>
<div>rule_parser.c: In function 'parse_rules':</div>
<div>rule_parser.c:132: warning: format not a string literal and no format arguments</div>
<div>ERROR: MAPSET PERMANENT - permission denied</div>
<div>make[1]: *** [r.fuzzy.system.tmp.html] Error 1</div>
<div>Installing...</div>
<div>make: *** No rule to make target `install'.  Stop.</div>
<div>WARNING: Installation failed, sorry. Please check above error messages.</div>
<div><br>
</div>
<div><br>
</div>
<div>Bulent gets an entirely different set of errors in GRASS 6.5</div>
<div><br>
</div>
<div>
<div>Fetching <r.stream.order> from GRASS-Addons SVN (be patient)...</div>
<div>A    r.stream.order/main.c</div>
<div>A    r.stream.order/description.html</div>
<div>A    r.stream.order/global.h</div>
<div>A    r.stream.order/io.c</div>
<div>A    r.stream.order/r_stream_order_orders.png</div>
<div>A    r.stream.order/order.c</div>
<div>A    r.stream.order/Makefile</div>
<div> U   r.stream.order</div>
<div>Checked out revision 58089.</div>
<div>Compiling <r.stream.order>...</div>
<div>/Applications/GRASS_6.4.3/GRASS-6.4.3.app/Contents/MacOS/include/Make/Grass.make:423: warning: overriding commands for target `/Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/bin'</div>
<div>/Applications/GRASS_6.4.3/GRASS-6.4.3.app/Contents/MacOS/include/Make/Grass.make:414: warning: ignoring old commands for target `/Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/bin'</div>
<div>mkdir -p /Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/bin</div>
<div>mkdir -p /Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/include/grass</div>
<div>mkdir -p /Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/etc</div>
<div>mkdir -p /Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/driver</div>
<div>mkdir -p /Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/driver/db</div>
<div>mkdir -p /Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/fonts</div>
<div>test -d OBJ.x86_64-apple-darwin12.4.0 || mkdir -p OBJ.x86_64-apple-darwin12.4.0</div>
<div>gcc '-I/Applications/GRASS_6.4.3/GRASS-6.4.3.app/Contents/MacOS/include' '-I/Users/bulentarikan/Library/GRASS/6.4/Modules/bin/include' '-I/Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/include'
  -g -O2   -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk   -I/Library/Frameworks/GDAL.framework/Versions/1.9/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include   -DPACKAGE=\""grassmods"\"  '-I/Applications/GRASS_6.4.3/GRASS-6.4.3.app/Contents/MacOS/include'
 '-I/Users/bulentarikan/Library/GRASS/6.4/Modules/bin/include' '-I/Users/bulentarikan/grassdata/spearfish60/PERMANENT/.tmp/bulent-arikans-macbook-pro.local/6007.0/dist.x86_64-apple-darwin12/include' -o OBJ.x86_64-apple-darwin12.4.0/io.o -c io.c</div>
<div>In file included from io.c:1:</div>
<div>/Applications/GRASS_6.4.3/GRASS-6.4.3.app/Contents/MacOS/include/grass/glocale.h:9:10: fatal error: </div>
<div>      'libintl.h' file not found</div>
<div>#include <libintl.h></div>
<div>         ^</div>
<div>1 error generated.</div>
<div>make: *** [OBJ.x86_64-apple-darwin12.4.0/io.o] Error 1</div>
<div>ERROR: Compilation failed, sorry. Please check above error messages.</div>
<div>GRASS 6.4.3 (spearfish60):~ > </div>
</div>
<div><br>
</div>
<div>None of these make any sense.</div>
<div><br>
</div>
<div>Michael</div>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">______________________________</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">C. Michael Barton </span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Director, Center for Social Dynamics & Complexity</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Professor of Anthropology, School of Human Evolution & Social Change</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<span class="Apple-style-span" style="font-size: 12px; font-family: Helvetica; ">Arizona State University</span></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Tempe, AZ  85287-2402</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">USA</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; "><br>
</span></font></div>
<div><font class="Apple-style-span" face="Helvetica" size="3" style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="font-size: 12px; ">voice:<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre; ">
</span>480-965-6262 (SHESC), 480-965-8130/</span></font><span style="font-size: 12px; ">727-9746</span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "> (CSDC)</span></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">www: <span class="Apple-tab-span" style="white-space: pre; ">
</span><a href="http://csdc.asu.edu">http://csdc.asu.edu</a>, <a href="http://shesc.asu.edu">
http://shesc.asu.edu</a></span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; "><span class="Apple-tab-span" style="white-space: pre; "></span><a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a></span></font></div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
<br>
<div>
<div>On Oct 22, 2013, at 7:35 AM, Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Hi,
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Oct 22, 2013 at 1:51 AM, Michael Barton <span dir="ltr">
<<a href="mailto:Michael.Barton@asu.edu" target="_blank">Michael.Barton@asu.edu</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 style="word-wrap:break-word">Here is a bit more. When I try to send an extension to a directory where I do have permissions without using sudo, g.extension on GRASS 7 still insists on putting it into the GRASS app.
<div><br>
</div>
<div>
<div>GRASS 7.0.svn (nc_spm_08):~ >  g.extension extension=r.stream.order prefix=/Users/cmbarton/Library/GRASS/7.0/Modules </div>
<div>
<div class="h5">
<div>Fetching <r.stream.order> from GRASS-Addons SVN (be patient)...</div>
<div>Compiling...</div>
<div>mkdir: /Applications/GRASS/bin: Permission denied</div>
<div>make: *** [/Applications/GRASS/bin] Error 1</div>
<div>ERROR: Compilation failed, sorry. Please check above error messages.</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>I don't have any problem with installing extensions on Mac, I've just tried installing both C and Python extensions. My GRASS_ADDON_BASE is <span style="font-size:13px;font-family:arial,sans-serif">/Users/akratoc/</span><span style="font-size:13px;font-family:arial,sans-serif">Library/GRASS/7.0/Modules
 and GRASS_ADDON_PATH is empty. Tell me if there is something to test.</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif"><br>
</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">Anna</span></div>
<div><br>
</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 style="word-wrap:break-word">
<div>
<div class="h5">
<div></div>
<div>Michael</div>
<div><span style="border-collapse:separate;font-family:Helvetica;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<div>
<div>____________________</div>
<div>C. Michael Barton</div>
<div>Director, Center for Social Dynamics & Complexity </div>
<div>Professor of Anthropology, School of Human Evolution & Social Change</div>
<div>Arizona State University</div>
<div><br>
</div>
voice: <span style="white-space:pre-wrap"> </span><a href="tel:480-965-6262" value="+14809656262" target="_blank">480-965-6262</a> (SHESC), 480-965-8130/727-9746 (CSDC)<br>
fax:          <a href="tel:480-965-7671" value="+14809657671" target="_blank">480-965-7671</a> (SHESC),  <a href="tel:480-727-0709" value="+14807270709" target="_blank">480-727-0709</a> (CSDC)<br>
<div>www: <a href="http://www.public.asu.edu/~cmbarton" target="_blank">http://www.public.asu.edu/~cmbarton</a>,
<a href="http://csdc.asu.edu/" target="_blank">http://csdc.asu.edu</a></div>
<br>
</div>
<br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
<br>
</div>
<br>
<div>
<div>On Oct 21, 2013, at 10:08 PM, Michael Barton <<a href="mailto:michael.barton@asu.edu" target="_blank">michael.barton@asu.edu</a>> wrote:</div>
<br>
<blockquote type="cite">
<div style="word-wrap:break-word">So responding to a query from a colleague I just tried g.extension in GRASS 7 that I compiled a few hours ago. Note that I'm running this from the terminal and yes GRASS_ADDON_PATH is set properly.
<div><br>
</div>
<div>
<div>$GRASS_ADDON_PATH</div>
<div>bash: :/Library/GRASS/7.0/Modules/bin</div>
<div><br>
</div>
<div>I start running g.extensions with just the normal default settings</div>
<div><br>
</div>
<div>
<div>g.extension extension=r.stream.order</div>
<div>Fetching <r.stream.order> from GRASS-Addons SVN (be patient)...</div>
<div>Compiling...</div>
<div>mkdir: /Applications/GRASS/bin: Permission denied</div>
<div>make: *** [/Applications/GRASS/bin] Error 1</div>
<div>ERROR: Compilation failed, sorry. Please check above error messages.</div>
<div><br>
</div>
<div>First of all, this is wrong. Instead of putting this into the default, GRASS_ADDON_PATH, it is trying to create a new bin directory inside the GRASS app.</div>
<div><br>
</div>
<div>GRASS 7.0.svn (nc_spm_08):~ > sudo g.extension extension=r.stream.order</div>
<div>dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid</div>
<div>You must be in GRASS GIS to run this program.</div>
<div><br>
</div>
<div>Now it won't let me use sudo to run g.extension. </div>
<div><br>
</div>
<div>So I try to force g.extension to use the proper directory specified by GRASS_ADDON_PATH</div>
<div><br>
</div>
<div>
<div>GRASS 7.0.svn (nc_spm_08):~ > g.extension extension=r.stream.order prefix=/Library/GRASS/7.0/Modules/bin</div>
<div>ERROR: Unable to create '/Library/GRASS/7.0/Modules/bin/bin': [Errno 13]</div>
<div>       Permission denied: '/Library/GRASS/7.0/Modules/bin/bin'</div>
</div>
<div><br>
</div>
<div>Again permission denied.</div>
<div><br>
</div>
<div>
<div>sudo g.extension extension=r.stream.order prefix=/Library/GRASS/7.0/Modules/bin</div>
<div>dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid</div>
<div>You must be in GRASS GIS to run this program.</div>
<div><br>
</div>
<div>And again, I get a bogus message when I use sudo to override the permissions issue.</div>
<div><br>
</div>
<div>So there is no way this can work AFAICT.  Maybe it work in GRASS 6.</div>
<div><br>
</div>
</div>
<div>Michael</div>
<div><span style="border-collapse:separate;font-family:Helvetica;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word">
<div>
<div>____________________</div>
<div>C. Michael Barton</div>
<div>Director, Center for Social Dynamics & Complexity </div>
<div>Professor of Anthropology, School of Human Evolution & Social Change</div>
<div>Arizona State University</div>
<div><br>
</div>
voice: <span style="white-space:pre-wrap"> </span><a href="tel:480-965-6262" value="+14809656262" target="_blank">480-965-6262</a> (SHESC), 480-965-8130/727-9746 (CSDC)<br>
fax:          <a href="tel:480-965-7671" value="+14809657671" target="_blank">480-965-7671</a> (SHESC),  <a href="tel:480-727-0709" value="+14807270709" target="_blank">480-727-0709</a> (CSDC)<br>
<div>www: <a href="http://www.public.asu.edu/~cmbarton" target="_blank">http://www.public.asu.edu/~cmbarton</a>,
<a href="http://csdc.asu.edu/" target="_blank">http://csdc.asu.edu</a></div>
<br>
</div>
<br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
<br>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</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>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>