[GRASS-user] g.extension not working

Hamish hamish_b at yahoo.com
Mon Sep 12 04:10:59 EDT 2011

Edgar wrote:
> After installing subversion the following message.
> g.extension extension=r.fuzzy
> Fetching <r.fuzzy> from GRASS-Addons SVN (be patient)...
> A    r.fuzzy/local_proto.h
> A    r.fuzzy/shape.png
> A    r.fuzzy/main.c
> A    r.fuzzy/boundary.png
> A    r.fuzzy/description.html
> A    r.fuzzy/fuzzy.c
> A    r.fuzzy/set.png
> A    r.fuzzy/Makefile
>  U   r.fuzzy
> Checked out revision 48243.
> Compiling <r.fuzzy>...
> mkdir -p /build/buildd/grass-6.4.1/bin.i486-pc-linux-gnu
> mkdir: cannot create directory `/build': Permission denied
> make: *** [/build/buildd/grass-6.4.1/bin.i486-pc-linux-gnu]
> Error 1
> Compilation failed, sorry. Please check above error messages.

hmmm, it would seem I never committed the DebianGIS patch to fix the build
dir from the build-server's value to the end-user's installed value:

sudo sed -i -e 's+^\(GRASS_HOME[ ]*=\) /build/.*+\1 ${INST_DIR}+' \
       -e 's+^\(RUN_GISBASE[ ]*=\) /build/.*+\1 ${INST_DIR}+' \

But even after fixing that I notice there is still more to do before it
will work properly on a system without a full source install. I've just
committed a couple fixes to devbr6; I'll write more about that on the
grass-dev mailing list.

I've got Ubuntu 10.04 LTS  32bit installed in a virtual machine, so for
now I'll just build r.fuzzy for you by hand and send you the executable.


More information about the grass-user mailing list