[GRASS-user] Extension r.univar.zonal doesn't install

Christian Braun christian.braun at tudor.lu
Wed Jul 18 01:45:09 PDT 2012


Hi, I have a problem installing r.univar.zonal from the extension repo. I am in need of it because v.rast.stats2 (which is installing fine like several other extensions) is depended on this extension.

I am on Ubuntu 10.04.4 LTS with GRASS 6.4.2.
Below you can find the whole output of g.extension during compiling.

Thank you very much for any hints to solve the problem,
Christian




g.extension -u ext=r.univar.zonal

Fetching <r.univar.zonal> from GRASS-Addons SVN (be patient)...
A    r.univar.zonal/stats.c
A    r.univar.zonal/sort.c
A    r.univar.zonal/globals.h
A    r.univar.zonal/r.univar.zonal.html
A    r.univar.zonal/r.univar_main.c
A    r.univar.zonal/r3.univar.zonal.html
A    r.univar.zonal/r3.univar_main.c
A    r.univar.zonal/Makefile
 U   r.univar.zonal
Checked out revision 52401.
Compiling <r.univar.zonal>...
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
mkdir -p /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin
mkdir -p /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include/grass
mkdir -p /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/etc
mkdir -p /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/driver
mkdir -p /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/driver/db
mkdir -p /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/fonts
test -d OBJ.x86_64-pc-linux-gnu || mkdir -p OBJ.x86_64-pc-linux-gnu
gcc '-I/usr/lib/grass64/include' '-I/home/cbraun/.grass6/addons//include' '-I/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include'  -Wall -g -O       -DPACKAGE=\""grassmods"\"  '-I/usr/lib/grass64/include' '-I/home/cbraun/.grass6/addons//include' '-I/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include' -o OBJ.x86_64-pc-linux-gnu/r.univar_main.o -c r.univar_main.c
gcc '-I/usr/lib/grass64/include' '-I/home/cbraun/.grass6/addons//include' '-I/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include'  -Wall -g -O       -DPACKAGE=\""grassmods"\"  '-I/usr/lib/grass64/include' '-I/home/cbraun/.grass6/addons//include' '-I/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include' -o OBJ.x86_64-pc-linux-gnu/sort.o -c sort.c
gcc '-I/usr/lib/grass64/include' '-I/home/cbraun/.grass6/addons//include' '-I/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include'  -Wall -g -O       -DPACKAGE=\""grassmods"\"  '-I/usr/lib/grass64/include' '-I/home/cbraun/.grass6/addons//include' '-I/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include' -o OBJ.x86_64-pc-linux-gnu/stats.o -c stats.c
gcc '-L/usr/lib/grass64/lib' '-L/home/cbraun/.grass6/addons//lib' '-L/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/lib' -Wl,-Bsymbolic-functions -Wl,--export-dynamic -Wl,-rpath-link,/usr/lib/grass64/lib   -o /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r.univar.zonal OBJ.x86_64-pc-linux-gnu/r.univar_main.o OBJ.x86_64-pc-linux-gnu/sort.o OBJ.x86_64-pc-linux-gnu/stats.o  -lgrass_g3d.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz      -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz     -lz  -lm 
gcc '-I/usr/lib/grass64/include' '-I/home/cbraun/.grass6/addons//include' '-I/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include'  -Wall -g -O       -DPACKAGE=\""grassmods"\"  '-I/usr/lib/grass64/include' '-I/home/cbraun/.grass6/addons//include' '-I/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/include' -o OBJ.x86_64-pc-linux-gnu/r3.univar_main.o -c r3.univar_main.c
gcc '-L/usr/lib/grass64/lib' '-L/home/cbraun/.grass6/addons//lib' '-L/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/lib' -Wl,-Bsymbolic-functions -Wl,--export-dynamic -Wl,-rpath-link,/usr/lib/grass64/lib   -o /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r3.univar.zonal OBJ.x86_64-pc-linux-gnu/r3.univar_main.o OBJ.x86_64-pc-linux-gnu/sort.o OBJ.x86_64-pc-linux-gnu/stats.o  -lgrass_g3d.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz      -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz     -lz  -lm 
make htmlmulti
make[1]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
for prog in r.univar.zonal r3.univar.zonal ; do make htmlcmd PGM=$prog ; done
make[2]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
make /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html/r.univar.zonal.html HTMLSRC=/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r.univar.zonal
make[3]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
if [ "/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r.univar.zonal" != "" ] ; then GISRC=/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/demolocation/.grassrc64 GISBASE=/usr/lib/grass64 PATH="/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin:$PATH" LD_LIBRARY_PATH="/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin:/usr/lib/grass64/lib:/usr/lib/grass64/lib" LC_ALL=C fakeroot /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r.univar.zonal --html-description < /dev/null | grep -v '</body>\|</html>' > r.univar.zonal.tmp.html ; true ; fi
/usr/lib/grass64/tools/mkhtml.sh r.univar.zonal ; mkdir -p /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html ; /usr/bin/install -c  -m 644 r.univar.zonal.tmp.html /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html/r.univar.zonal.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 /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html ; fi done 2> /dev/null ; true
make[3]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[2]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[2]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
make /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html/r3.univar.zonal.html HTMLSRC=/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r3.univar.zonal
make[3]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
if [ "/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r3.univar.zonal" != "" ] ; then GISRC=/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/demolocation/.grassrc64 GISBASE=/usr/lib/grass64 PATH="/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin:$PATH" LD_LIBRARY_PATH="/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin:/usr/lib/grass64/lib:/usr/lib/grass64/lib" LC_ALL=C fakeroot /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r3.univar.zonal --html-description < /dev/null | grep -v '</body>\|</html>' > r3.univar.zonal.tmp.html ; true ; fi
/usr/lib/grass64/tools/mkhtml.sh r3.univar.zonal ; mkdir -p /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html ; /usr/bin/install -c  -m 644 r3.univar.zonal.tmp.html /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html/r3.univar.zonal.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 /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html ; fi done 2> /dev/null ; true
make[3]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[2]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[1]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[1]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
INST_NOW= make
make[2]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
make htmlmulti
make[3]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
for prog in r.univar.zonal r3.univar.zonal ; do make htmlcmd PGM=$prog ; done
make[4]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
make /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html/r.univar.zonal.html HTMLSRC=/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r.univar.zonal
make[5]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
make[5]: `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html/r.univar.zonal.html' is up to date.
make[5]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[4]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[4]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
make /data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html/r3.univar.zonal.html HTMLSRC=/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin/r3.univar.zonal
make[5]: Entering directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
/usr/lib/grass64/include/Make/Grass.make:422: warning: overriding commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
/usr/lib/grass64/include/Make/Grass.make:413: warning: ignoring old commands for target `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/bin'
make[5]: `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/dist.x86_64/docs/html/r3.univar.zonal.html' is up to date.
make[5]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[4]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[3]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[2]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
make[1]: Leaving directory `/data/grassdata/28992_ROTTERDAM/solar_cadastre/.tmp/crte-linux-calc/23537.0/r.univar.zonal'
Installing <r.univar.zonal>...
if [ "" != "" ] ; then \
		for dir in  ; do \
			make -C $dir install ; \
		done ; \
	fi
ERROR: Module did not install properly
[Raster MASK present]










------------------------------------------------------------
Christian Braun
R+D Engineer
Environmental Modelling, Geocomputation

Tel: +352- 425991-6608
Mobil: +49-179-6845896
Mail: christian.braun at tudor.lu

Resource Centre for Environmental Technologies,
Public Research Centre Henri Tudor,
Technoport Schlassgoart,
66 rue de Luxembourg,
P.O. BOX 144,
L-4002 Esch-sur-Alzette, Luxembourg



More information about the grass-user mailing list