[GRASS-dev] [GRASS GIS] #2598: g.extension compilation fails

GRASS GIS trac at osgeo.org
Wed Feb 25 12:10:07 PST 2015


#2598: g.extension compilation fails
----------------------+-----------------------------------------------------
 Reporter:  ewcgrass  |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  7.0.1                    
Component:  Default   |     Version:  svn-releasebranch70      
 Keywords:            |    Platform:  Linux                    
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------
Changes (by martinl):

  * milestone:  => 7.0.1


Old description:

> 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 have had same problem with various GRASS-6 versions (where I simply
> stopped trying to install addons), except for
> GRASS-6.4.4svn-x86_64-02-11-2013, where g.extension works but with
> messages like:
>
> --snip--
> /usr/local/grass6.4.4svn-x86_64-unknown-linux-gnu-
> 02_11_2013/include/Make/Grass.make:423: warning: overriding
> recipe for target `/home/rick/data/grassdata/ns-nad83-utm-
> 25m-
> 10m/PERMANENT/.tmp/localhost.localdomain/7565.0/r.flip/bin'
> --snip--
>
> as an apparent work-around, which allowed addons to be installed into
> $HOME/.grass6/addons directory.

New description:

 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 have had same problem with various GRASS-6 versions (where I simply
 stopped trying to install addons), except for
 GRASS-6.4.4svn-x86_64-02-11-2013, where g.extension works but with
 messages like:

 {{{
 --snip--
 /usr/local/grass6.4.4svn-x86_64-unknown-linux-gnu-
 02_11_2013/include/Make/Grass.make:423: warning: overriding
 recipe for target `/home/rick/data/grassdata/ns-nad83-utm-
 25m-
 10m/PERMANENT/.tmp/localhost.localdomain/7565.0/r.flip/bin'
 --snip--
 }}}

 as an apparent work-around, which allowed addons to be installed into
 $HOME/.grass6/addons directory.

--

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2598#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list