[GRASS-dev] g.extension not working on debian - grass 6.4.3svn
Luca Delucchi
lucadeluge at gmail.com
Tue Dec 11 19:13:40 PST 2012
2012/12/6 Margherita Di Leo <dileomargherita at gmail.com>:
> Hi All,
>
> I'm having issues in using g.extension and before filing a bug report I
> should like to know whether am I not seeing anything obviously wrong from my
> side.
>
are you sure? it seems that you are trying to install in /usr/local .....
please RTFM.
> GRASS 6.4.3svn (nc_spm_08):~ > g.extension extension=r.stream.extract
> operation=add
> Fetching <r.stream.extract> from GRASS-Addons SVN (be patient)...
> A r.stream.extract/flag.h
> A r.stream.extract/streams.c
> A r.stream.extract/load.c
> A r.stream.extract/del_streams.c
> A r.stream.extract/local_proto.h
> A r.stream.extract/thin.c
> A r.stream.extract/rbtree.c
> A r.stream.extract/main.c
> A r.stream.extract/close.c
> A r.stream.extract/description.html
> A r.stream.extract/rbtree.h
> A r.stream.extract/flag.c
> A r.stream.extract/Makefile
> A r.stream.extract/do_astar.c
> U r.stream.extract
> Checked out revision 54224.
> Compiling <r.stream.extract>...
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:423: warning: overriding
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:414: warning: ignoring old
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Module.make:25: warning: overriding
> commands for target `install'
> /usr/local/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old
> commands for target `install'
> mkdir -p
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin
> mkdir -p
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include/grass
> mkdir -p
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/etc
> mkdir -p
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/driver
> mkdir -p
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/driver/db
> mkdir -p
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/fonts
> test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p
> OBJ.x86_64-unknown-linux-gnu
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/close.o -c close.c
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/del_streams.o -c del_streams.c
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/do_astar.o -c do_astar.c
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/flag.o -c flag.c
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/load.o -c load.c
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/main.o -c main.c
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/rbtree.o -c rbtree.c
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/streams.o -c streams.c
> gcc '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -g -Wall -I/usr/local/include -I/usr/local/include
> -DPACKAGE=\""grassmods"\" '-I/usr/local/grass-6.4.3svn/include'
> '-I/home/madi/.grass6/addons/include'
> '-I/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/include'
> -o OBJ.x86_64-unknown-linux-gnu/thin.o -c thin.c
> gcc '-L/usr/local/grass-6.4.3svn/lib' '-L/home/madi/.grass6/addons/lib'
> '-L/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/lib'
> -Wl,--export-dynamic -Wl,-rpath-link,/usr/local/grass-6.4.3svn/lib
> -L/usr/include/postgresql/libpq/ -o
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin/r.stream.extract
> OBJ.x86_64-unknown-linux-gnu/close.o
> OBJ.x86_64-unknown-linux-gnu/del_streams.o
> OBJ.x86_64-unknown-linux-gnu/do_astar.o OBJ.x86_64-unknown-linux-gnu/flag.o
> OBJ.x86_64-unknown-linux-gnu/load.o OBJ.x86_64-unknown-linux-gnu/main.o
> OBJ.x86_64-unknown-linux-gnu/rbtree.o OBJ.x86_64-unknown-linux-gnu/streams.o
> OBJ.x86_64-unknown-linux-gnu/thin.o -lgrass_vect.6.4.3svn
> -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz
> -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn
> -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn
> -lgrass_datetime.6.4.3svn -lz -lgrass_dgl.6.4.3svn
> -lgrass_dig2.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz
> -lgrass_rtree.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz
> -lgrass_linkm.6.4.3svn -lgrass_rtree.6.4.3svn -lgrass_dig2.6.4.3svn
> -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz
> -lgrass_rtree.6.4.3svn -lgrass_dgl.6.4.3svn -lgrass_rtree.6.4.3svn
> -lgrass_linkm.6.4.3svn -lgrass_dbmiclient.6.4.3svn -lgrass_dbmibase.6.4.3svn
> -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lgrass_gis.6.4.3svn
> -lgrass_datetime.6.4.3svn -lz -lgrass_dbmibase.6.4.3svn
> -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -L/usr/local/lib
> -lgdal -L/usr/local/lib -lgeos -lgeos_c -lgrass_dbmiclient.6.4.3svn
> -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz
> -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz
> -lgrass_dbmibase.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz
> -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz -lm -lz
> make htmlcmd
> make[1]: Entering directory
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/r.stream.extract'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:423: warning: overriding
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:414: warning: ignoring old
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Module.make:25: warning: overriding
> commands for target `install'
> /usr/local/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old
> commands for target `install'
> make
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/docs/html/r.stream.extract.html
> HTMLSRC=/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin/r.stream.extract
> make[2]: Entering directory
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/r.stream.extract'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:423: warning: overriding
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:414: warning: ignoring old
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Module.make:25: warning: overriding
> commands for target `install'
> /usr/local/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old
> commands for target `install'
> if [
> "/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin/r.stream.extract"
> != "" ] ; then
> GISRC=/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/demolocation/.grassrc64
> GISBASE=/usr/local/grass-6.4.3svn
> PATH="/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin:$PATH"
> LD_LIBRARY_PATH="/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin:/usr/local/grass-6.4.3svn/lib:/usr/local/grass-6.4.3svn/lib"
> LC_ALL=C
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin/r.stream.extract
> --html-description < /dev/null | grep -v '</body>\|</html>' >
> r.stream.extract.tmp.html ; true ; fi
> /usr/local/grass-6.4.3svn/tools/mkhtml.sh r.stream.extract ; mkdir -p
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/docs/html
> ; /usr/bin/install -c -m 644 r.stream.extract.tmp.html
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/docs/html/r.stream.extract.html
> ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ;
> if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/docs/html
> ; fi done 2> /dev/null ; true
> make[2]: Leaving directory
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/r.stream.extract'
> make[1]: Leaving directory
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/r.stream.extract'
> make mancmd
> make[1]: Entering directory
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/r.stream.extract'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:423: warning: overriding
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:414: warning: ignoring old
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Module.make:25: warning: overriding
> commands for target `install'
> /usr/local/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old
> commands for target `install'
> make
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/man/man1/r.stream.extract.1
> MANSRC=/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/docs/html/r.stream.extract.html
> make[2]: Entering directory
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/r.stream.extract'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:423: warning: overriding
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Grass.make:414: warning: ignoring old
> commands for target
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/bin'
> /usr/local/grass-6.4.3svn/include/Make/Module.make:25: warning: overriding
> commands for target `install'
> /usr/local/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old
> commands for target `install'
> mkdir -p
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/man/man1
> GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.3svn sh
> /usr/local/grass-6.4.3svn/tools/g.html2man
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/docs/html/r.stream.extract.html
> /home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/man/man1/r.stream.extract.1
> 1
> make[2]: ***
> [/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/dist.x86_64/man/man1/r.stream.extract.1]
> Error 127
> make[2]: Leaving directory
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/r.stream.extract'
> make[1]: *** [mancmd] Error 2
> make[1]: Leaving directory
> `/home/madi/grassdata/nc_spm_08/testing/.tmp/amylee/3538.0/r.stream.extract'
> make: *** [cmd] Error 2
> ERROR: Compilation failed, sorry. Please check above error messages.
>
> Thanks in advance for any hint..
>
> cheers
> madi
>
> --
> Margherita DI LEO
> Postdoctoral Researcher
> European Commission - DG JRC
> Forest Resources and Climate
> I-21020 Ispra (VA) - Italy - TP 261
>
> Tel. +39 0332 78 3600
> margherita.di-leo at jrc.ec.europa.eu
>
>
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
More information about the grass-dev
mailing list