I just tried installing r.univar2.zonal using g.extension. i am using Grass6.5svn<br><br>I got an error at the end "Module did not install properly"<br><br>As a test I also tried (successfully)<br clear="all">GRASS 6.5.svn (cru):~/himalaya > g.extension extension=v.rast.stats2<br>
<br>Here is what happened with r.univar2.zonal: any ideas?<br><i>--------------<br>GRASS 6.5.svn (cru):~/himalaya > g.extension extension=r.univar2.zonal<br>Fetching <r.univar2.zonal> from GRASS-Addons SVN (be patient)...<br>
A r.univar2.zonal/stats.c<br>A r.univar2.zonal/sort.c<br>A r.univar2.zonal/globals.h<br>A r.univar2.zonal/r.univar.zonal.html<br>A r.univar2.zonal/r.univar_main.c<br>A r.univar2.zonal/r3.univar.zonal.html<br>
A r.univar2.zonal/r3.univar_main.c<br>A r.univar2.zonal/Makefile<br> U r.univar2.zonal<br>Checked out revision 43600.<br>Compiling <r.univar2.zonal>...<br>test -d OBJ.i686-pc-linux-gnu || mkdir -p OBJ.i686-pc-linux-gnu<br>
gcc -I/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/include -g -O2 -DPACKAGE=\""grassmods"\" -I/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/r.univar_main.o -c r.univar_main.c<br>
gcc -I/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/include -g -O2 -DPACKAGE=\""grassmods"\" -I/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/sort.o -c sort.c<br>
gcc -I/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/include -g -O2 -DPACKAGE=\""grassmods"\" -I/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/stats.o -c stats.c<br>
gcc -L/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/lib -L/usr/local/pgsql/lib/ -o /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin/r.univar.zonal OBJ.i686-pc-linux-gnu/r.univar_main.o OBJ.i686-pc-linux-gnu/sort.o OBJ.i686-pc-linux-gnu/stats.o -lgrass_g3d -lgrass_gis -lgrass_datetime -lz -lgrass_gis -lgrass_datetime -lz -lz -lm <br>
gcc -I/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/include -g -O2 -DPACKAGE=\""grassmods"\" -I/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/r3.univar_main.o -c r3.univar_main.c<br>
gcc -L/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/lib -L/usr/local/pgsql/lib/ -o /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin/r3.univar.zonal OBJ.i686-pc-linux-gnu/r3.univar_main.o OBJ.i686-pc-linux-gnu/sort.o OBJ.i686-pc-linux-gnu/stats.o -lgrass_g3d -lgrass_gis -lgrass_datetime -lz -lgrass_gis -lgrass_dModule did not install properlyatetime -lz -lz -lm <br>
make htmlmulti<br>make[1]: Entering directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>for prog in r.univar.zonal r3.univar.zonal ; do make htmlcmd PGM=$prog ; done<br>make[2]: Entering directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>
make /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/docs/html/r.univar.zonal.html HTMLSRC=/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin/r.univar.zonal<br>make[3]: Entering directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>
if [ "/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin/r.univar.zonal" != "" ] ; then GISRC=/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu PATH="/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin:/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/lib:/usr/local/grass-6.5.svn/lib" LC_ALL=C /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin/r.univar.zonal --html-description < /dev/null | grep -v '</body>\|</html>' > r.univar.zonal.tmp.html ; true ; fi<br>
/usr/local/grass-6.5.svn/tools/mkhtml.sh r.univar.zonal ; mkdir -p /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/install -c -m 644 r.univar.zonal.tmp.html /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/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 /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true<br>
make[3]: Leaving directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>make[2]: Leaving directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>make[2]: Entering directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>
make /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/docs/html/r3.univar.zonal.html HTMLSRC=/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin/r3.univar.zonal<br>make[3]: Entering directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>
if [ "/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin/r3.univar.zonal" != "" ] ; then GISRC=/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu PATH="/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin:/home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/lib:/usr/local/grass-6.5.svn/lib" LC_ALL=C /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/bin/r3.univar.zonal --html-description < /dev/null | grep -v '</body>\|</html>' > r3.univar.zonal.tmp.html ; true ; fi<br>
/usr/local/grass-6.5.svn/tools/mkhtml.sh r3.univar.zonal ; mkdir -p /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/install -c -m 644 r3.univar.zonal.tmp.html /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/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 /home/vishal/src/grass6_dev/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true<br>
make[3]: Leaving directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>make[2]: Leaving directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>make[1]: Leaving directory `/home/vishal/grassdata/cru/rad/.tmp/SEI-Davis/8982.0/r.univar2.zonal'<br>
Installing r.univar2.zonal...<br>if [ "" != "" ] ; then \<br> for dir in ; do \<br> make -C $dir install ; \<br> done ; \<br> fi<br>ERROR: Module did not install properly<br>
</i>----------------------------------------------------------------<br><br>Thanks,<br>Vishal<br><br><br>-- <br>Vishal K. Mehta, PhD<br>Scientist<br>Stockholm Environment Institute - US<br>133 D St Suite F<br>Davis CA 95616<br>
<a href="http://www.sei-us.org">www.sei-us.org</a><br>