#2598: g.extension compilation fails
···
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@asu.edu
#2598: g.extension compilation fails
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@asu.edu
On Wed, Feb 25, 2015 at 2:52 PM, Isaac Ullah <isaac.ullah@asu.edu> wrote:
#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-14running 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).
Please, write that directly to the ticket on Trac:
http://trac.osgeo.org/grass/ticket/2598
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).
Vaclav
--
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@asu.edu_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev