<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 2:52 PM, Isaac Ullah <span dir="ltr"><<a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="margin-left:40px">#2598: g.extension compilation fails<br>
----------------------+-----------------------------------------------------<br>
Reporter: ewcgrass | Owner: grass-dev@?<br>
Type: defect | Status: new<br>
Priority: normal | Milestone:<br>
Component: Default | Version: svn-releasebranch70<br>
Keywords: | Platform: Linux<br>
Cpu: x86-64 |<br>
----------------------+-----------------------------------------------------<br>
Running GRASS 7.0.1svn(64bit)-2015-02-21, Python 2.7.0, wxPython 2.8.12.0,<br>
Linux-2.6.35.14-106.fc14.x86_64-x86_64-with-fedora-14<br>
<br>
running g.extension (from gui or from command line) gives:<br>
<br>
--snip--<br>
g.extension extension=r.damflood svnurl=<a href="http://svn.osgeo.org/grass/grass-" target="_blank">http://svn.osgeo.org/grass/grass-</a><br>
addons/grass7<br>
Fetching <r.damflood> from GRASS-Addons SVN repository (be patient)...<br>
Compiling...<br>
mkdir: cannot create directory `/usr/local/grass7.0.1svn-<br>
x86_64-unknown-linux-gnu-21_02_2015/dist.x86_64-unknown-<br>
linux-gnu': Permission denied<br>
make: *** [/usr/local/grass7.0.1svn-x86_64-unknown-linux-<br>
gnu-21_02_2015/dist.x86_64-unknown-linux-gnu] Error 1<br>
ERROR: Compilation failed, sorry. Please check above error messages.<br>
--snip--<br>
<br>
where g.extension appears to be wanting to write temporary files while<br>
compiling (and installing?) to a directory with root privileges, instead<br>
of at $HOME/.grass7/addons which based on manual pages should be the<br>
default local directory if "s" flag is not set.<br></div><div>
<br></div><div>I too encountered this today. I just changed the permissions of my grass 7 install tree in usr/lib/grass70, and it worked fine. I, too, didn't have any issue in grass6.4. However, I am having a different issue with g.extension, but only for addons I've written myself (and I made another e-mail thread about that). <br></div></div></blockquote><div><br></div><div>Please, write that directly to the ticket on Trac:<br><br><a href="http://trac.osgeo.org/grass/ticket/2598">http://trac.osgeo.org/grass/ticket/2598</a><br><br></div><div>Put there also how did you change the permissions. g.extension should install by default to .grass7 in your how directory (or equivalent) or if executed with sudo (or equivalent), it will put data into system directory (neither option should require change of permissions).<br></div><div> <br></div><div>Vaclav<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><span class=""><font color="#888888">-- <br><div><div><div dir="ltr"><div style="font-size:13px;margin-bottom:0px;margin-left:0px;padding-bottom:5px"><div style="overflow:hidden"><div dir="ltr"><span><font color="#888888"><div dir="ltr">Isaac I Ullah, Ph.D.<p style="margin-top:0.08in;margin-bottom:0in;line-height:0.07in"><span style="font-family:"times new roman",serif;line-height:12.8px">Arizona State University</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">School of Human Evolution and Social Change</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">PO Box 2402</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">Tempe, AZ 85287-2402</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="tel:%28480%29%20727-1054" value="+14807271054" target="_blank">(480) 727-1054</a> office</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="tel:%28650%29%20201-0479" value="+16502010479" target="_blank">(650) 201-0479</a> cell</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="mailto:iullah@asu.edu" target="_blank">iullah@asu.edu</a></span></p></div></font></span></div><div></div></div></div><div style="font-size:13px"></div></div></div>
</div></font></span></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>