[GRASS-user] g.extension error installing install r.hazard.flood

RichardC richtcooper at hotmail.com
Fri May 17 06:16:57 PDT 2013


> where did you get the packages from? UbuntuGIS? the solution when 
> working with after-market packages and having trouble is to 
> completely remove/purge the old from the system before trying to 
> install another version.

>From the ubuntugis-testing repository, installed via Synaptic Package
Manager:
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/precise/main/binary-i386/Packages


> that file comes from the grass-doc package. is it installed? 
> (search for which package has the file: `dpkg -S grass_logo.png` 
$ dpkg -S grass_logo.png
grass: /usr/lib/grass64/docs/html/nviz/grass_logo.png
grass: /usr/lib/grass64/docs/html/grass_logo.png


Running g.extension from GRASS command line:
> g.extension extension=r.hazard.flood
...
/usr/bin/install: cannot stat
`/home/rcooper/grassdata/Bangkok_UTM47/PERMANENT/.tmp/rcooper-notebook/9305.0/dist.i686/man/man1/r.hazard.flood.py.1':
No such file or directory
make: *** [install] Error 1
ERROR: Installation failed, sorry. Please check above error messages.


GRASS 6.4.3 (Bangkok_UTM47):~ > echo $GRASS_ADDON_PATH
/home/rcooper/.grass6/addons:/home/rcooper/.grass6/addons/scripts

I seem now to have two paths ... need to try and remove one

When I try to install another addon, with g.extension gui, the addon isn't
added to the addons directory below:
g.extension.py extension=r.fuzzy.logic
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
WARNING: GRASS_ADDON_PATH has more items, using first defined -
'/home/rcooper/.grass6/addons'
Fetching <r.fuzzy.logic> from GRASS-Addons SVN (be patient)...
Compiling...
/usr/lib/grass64/include/Make/Module.make:25: warning:
overriding commands for target `install'
/usr/lib/grass64/include/Make/Rules.make:101: warning:
ignoring old commands for target `install'
mkdir: cannot create directory `/build': Permission denied
make: ***
[/build/buildd/grass-6.4.3/debian/tmp/usr/lib/grass64/bin]
Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
(Fri May 17 20:00:59 2013) Command finished (11 sec)   


When I try from the GRASS command line:
GRASS 6.4.3 (Bangkok_UTM47):~ > g.extension extension=r.fuzzy.logic
...
/usr/bin/install: cannot stat
`/home/rcooper/grassdata/Bangkok_UTM47/PERMANENT/.tmp/rcooper-notebook/10100.0/dist.i686/man/man1/r.fuzzy.logic.1':
No such file or directory
make: *** [install] Error 1
ERROR: Installation failed, sorry. Please check above error messages.
GRASS 6.4.3 (Bangkok_UTM47):~ > 





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/g-extension-error-installing-install-r-hazard-flood-tp5053923p5053996.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list