<div class="gmail_quote">Thanks Hamish for these answers and suggestions.  In the meantime we did end up installing 
version 7, so I haven&#39;t had a chance to test it on 6.4 yet.<br>

<br>

I was only running as root for installing the extension - I did create a
 new mapset just to start grass since the root account didn&#39;t have 
access to any of the other mapsets.  I hope this is OK.<br><br>Regarding version 7:  is the issue stability, that sometimes it won&#39;t 
work at all?  I am a graduate student, so down time is not critical.  
But if experimental means the calculations could be incorrect, I guess 
that would be more important.  One of the other students is pushing for 
version 7 since they like the new features.<br>
<br>
Should spgrass work with version 7?  I saw comments in the mail archive 
from over a year ago that GRASS &lt;-&gt; R was much better in version 
6 compared to version 7, is the situation improved now?  (It didn&#39;t work when I first tried 
it, but I have not taken time to check the details yet...)<br><br>-Eric<br><br>On Wed, Feb 8, 2012 at 12:52 AM, Hamish <span dir="ltr">&lt;<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">Eric wrote:<br>
&gt; Not sure if I should be sending this to the mail list or<br>
&gt; reporting it as a bug?  Seems I am doing everything right,<br>
&gt; but I still have a lot to learn.  I hope I am missing something<br>
&gt; easy???<br>
<br>
</div>usually a bug report would be good, but g.extension is still<br>
a work in progress, so the mailing list is fine too.<br>
<div class="im"><br></div></blockquote><div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
&gt; I want to add some extensions for all users on a shared<br>
&gt; virtual machine (Gnome, Debian, GRASS 6.4.2RC3 (2012) ).<br>
&gt;  I have run gksudo &#39;grass64 -gui&#39;<br>
<br>
</div>I would hesitate to run GRASS as root. You might make it the<br>
owner of some files or a mapset which belongs to a regular user.<br>
(maybe set up an admin account to look after the PERMANENT mapset<br>
in a multi-user location?)<br>
<div class="im"><br></div></blockquote><div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
&gt; and used the GUI for g.extension to install an<br>
&gt; extension system wide.  Below is the error I<br>
&gt; received.<br>
<br>
</div>simple work-around first: run g.extension as your regular user<br>
and then sudo copy the resulting binary from $GRASS_ADDON_PATH<br>
into $GISBASE/bin/. done! (make sure it is chmod a+rx)<br>
<div class="im"><br>
&gt;  I checked the environment settings, and the<br>
&gt; variable LOCATION_NAME is set.<br>
&gt;<br>
&gt; I then tried the Download Source option -it did download the<br>
&gt; i.landsat.toar file,<br>
<br>
</div>(note i.landsat.toar is now in the grass 6.5 source code too)<br>
<div class="im"><br>
&gt; but neither of the listed commands in<br>
&gt; the output would work. (The second set of output for this<br>
&gt; attempt.)<br>
&gt;<br>
&gt; If there isn&#39;t a quick answer, would it be easier to just<br>
&gt; run from source with GRASS 7?<br>
<br>
</div>note i.landsat.toar is present in grass 6.5svn too.<br>
(and don&#39;t use trunk for work that really matters; it&#39;s<br>
experimental)<br>
<div class="im"><br></div></blockquote><div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
&gt; We are currently all logging into the same virtual machine,<br>
&gt; so the admin efficiency of being able to deploy a package<br>
&gt; isn&#39;t a big issue.<br>
&gt;<br>
&gt; Any suggestions?  Thanks,<br>
<br>
</div>try g.extension from the command prompt, it&#39;s a different version<br>
than the one which runs from the GUI. Specifically it has a -s<br>
flag to install system-wide (same as the GUI version), but also<br>
a -u flag to install system-wide using sudo for the install step. AFAIK these are not terribly well tested so any feedback would<br>
be appreciated.<br>
<div class="im"><br>
<br>
&gt; ERROR: G_getenv(): Variable LOCATION_NAME not set<br>
<br>
</div>this generally happens because it didn&#39;t think you were in grass<br>
at the time.<br>
<br>
<br>
if you installed from .deb packages, make sure the grass-dev<br>
package is installed too.<br>
<br>
if you installed from source you can copy the i.landsat.toar<br>
source code dir into the imagery/ dir in the grass source code,<br>
then run &quot;make&quot; from in there.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Hamish<br>
</font></span></blockquote></div><br>