<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 id=":21l" class="">
<br></div><div id=":21l" class="">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>-- <br><div><div class="gmail_signature"><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">(480) 727-1054 office</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">(650) 201-0479 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></div>