GDAL
November 30, 2011, 9:42pm
1
#1501: g.extension fails when addons directory doesn't exists
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.5.0
Component: Default | Version: svn-develbranch6
Keywords: g.extension | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
{{{
rm -rf ~/.grass6/addons/
g.extension i.points.auto
}}}
{{{
Installing <i.points.auto>...
mkdir: cannot create directory `': No such file or directory
mkdir: cannot create directory `/docs': Permission denied
mkdir: cannot create directory `/man': Permission denied
/usr/local/src/grass6_devel/dist.i686-pc-linux-
gnu/include/Make/Module.make:25: warning: overriding commands for target
`install'
/usr/local/src/grass6_devel/dist.i686-pc-linux-
gnu/include/Make/Rules.make:90: warning: ignoring old commands for target
`install'
/usr/bin/install -c
/home/martin/grassdata/zod2011/landamar2/.tmp/pierre/5038.0/dist.i686/bin/i.points.auto
/bin/
/usr/bin/install: cannot create regular file `/bin/i.points.auto':
Permission denied
make: *** [install] Error 1
ERROR: Installation failed, sorry. Please check above error messages.
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1501> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
November 30, 2011, 10:37pm
2
#1501: g.extension fails when addons directory doesn't exists
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: hamish
Type: defect | Status: assigned
Priority: major | Milestone: 6.5.0
Component: Default | Version: svn-develbranch6
Keywords: g.extension | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by hamish):
* cc: grass-dev@… (added)
* owner: grass-dev@… => hamish
* status: new => assigned
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1501#comment:1> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
December 1, 2011, 6:22am
3
#1501: g.extension fails when addons directory doesn't exists
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: hamish
Type: defect | Status: assigned
Priority: major | Milestone: 6.5.0
Component: Default | Version: svn-develbranch6
Keywords: g.extension | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by hamish):
Hi,
fixed in r49451,2.
fwiw i.points.auto is an awkward test for it as it doesn't use the
standard parser. (one of a number of i.points improvements to be back-
ported; i.points.auto is based on a 2004 copy of i.points)
with an empty (or non-existent) addons dir could you try editing line 412
of grass 6.5's g.extension to be `[ 0 -eq 1 ]` and installing a few addon
modules? After seeing it I hope you agree it is a much cleaner way to
organize things. If there is a technical reason not to clean that up I'd
still like to hear what it is, as I know of none.
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1501#comment:2> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
December 1, 2011, 6:22am
4
#1501: g.extension fails when addons directory doesn't exists
--------------------------+-------------------------------------------------
Reporter: martinl | Owner: hamish
Type: defect | Status: closed
Priority: major | Milestone: 6.5.0
Component: Default | Version: svn-develbranch6
Resolution: fixed | Keywords: g.extension
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):
* status: assigned => closed
* resolution: => fixed
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1501#comment:3> ;
GRASS GIS <http://grass.osgeo.org >