[GRASS-dev] g.extension compilation fails

Isaac Ullah isaac.ullah at asu.edu
Wed Feb 25 11:52:10 PST 2015


#2598: g.extension compilation fails
----------------------+-----------------------------------------------------
 Reporter:  ewcgrass  |       Owner:  grass-dev@?
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  Default   |     Version:  svn-releasebranch70
 Keywords:            |    Platform:  Linux
      Cpu:  x86-64    |
----------------------+-----------------------------------------------------
 Running GRASS 7.0.1svn(64bit)-2015-02-21, Python 2.7.0, wxPython 2.8.12.0,
 Linux-2.6.35.14-106.fc14.x86_64-x86_64-with-fedora-14

 running g.extension (from gui or from command line) gives:

 --snip--
 g.extension extension=r.damflood svnurl=http://svn.osgeo.org/grass/grass-
 addons/grass7
 Fetching <r.damflood> from GRASS-Addons SVN repository (be patient)...
 Compiling...
 mkdir: cannot create directory `/usr/local/grass7.0.1svn-
 x86_64-unknown-linux-gnu-21_02_2015/dist.x86_64-unknown-
 linux-gnu': Permission denied
 make: *** [/usr/local/grass7.0.1svn-x86_64-unknown-linux-
 gnu-21_02_2015/dist.x86_64-unknown-linux-gnu] Error 1
 ERROR: Compilation failed, sorry. Please check above error messages.
 --snip--

 where g.extension appears to be wanting to write temporary files while
 compiling (and installing?) to a directory with root privileges, instead
 of at $HOME/.grass7/addons which based on manual pages should be the
 default local directory if "s" flag is not set.

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).
-- 
Isaac I Ullah, Ph.D.

Arizona State University
School of Human Evolution and Social Change
PO Box 2402
Tempe, AZ 85287-2402
(480) 727-1054 office
(650) 201-0479 cell
iullah at asu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150225/cdeb6d16/attachment.html>


More information about the grass-dev mailing list