Thanks Markus and Laura, <br>i will try recompiling 6.5 and report back,<br>Vishal<br><br><div class="gmail_quote">On Tue, Oct 12, 2010 at 2:09 AM, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@googlemail.com">markus.metz.giswork@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">BTW, r.univar in 6.5 and 7 has been updated with the functionality of<br>
r.univar.zonal. Of course r.univar behaves as before without the<br>
options for zonal statistics. IOW, r.univar.zonal is only needed for<br>
6.4.<br>
<br>
Markus M<br>
<div><div></div><div class="h5"><br>
<br>
On Tue, Oct 12, 2010 at 10:41 AM, Laura Poggio <<a href="mailto:laura.poggio@gmail.com">laura.poggio@gmail.com</a>> wrote:<br>
> Hi Vishal,<br>
> I recompiled grass from sources because I also wanted to update it to the<br>
> most recent release. I now installed r.univar.zonal on two different<br>
> computers and it worked fine. But I recompiled grass each time.<br>
><br>
> Laura<br>
><br>
><br>
> On 11 October 2010 20:41, Vishal Mehta <<a href="mailto:vishalm1975@gmail.com">vishalm1975@gmail.com</a>> wrote:<br>
>><br>
>> Hi Laura,<br>
>><br>
>> Did you have to recompile an updated Grass65 from svn?<br>
>> I am still unable to install this either from g.extension or compiling it<br>
>> from source..<br>
>><br>
>> Vishal<br>
>><br>
>> On Fri, Oct 8, 2010 at 1:43 AM, Laura Poggio <<a href="mailto:laura.poggio@gmail.com">laura.poggio@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Dear all,<br>
>>> it worked using g.extension on an updated version of GRASS65.<br>
>>> Sorry for my late answer but in the past days I was unable to try.<br>
>>><br>
>>> Thank you<br>
>>><br>
>>> Laura<br>
>>><br>
>>> On 5 October 2010 20:17, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>
>>>><br>
>>>> On Mon, Aug 9, 2010 at 5:41 PM, Laura Poggio <<a href="mailto:laura.poggio@gmail.com">laura.poggio@gmail.com</a>><br>
>>>> wrote:<br>
>>>> > Dear all,<br>
>>>> > since a while, I am trying to compile the r.univar.zonal addon on a<br>
>>>> > Fedora11<br>
>>>> > 64 bit machine and using GRASS 6.5<br>
>>>> ><br>
>>>> > I used:<br>
>>>> > svn co <a href="https://svn.osgeo.org/grass/grass-addons/raster/r.univar2.zonal" target="_blank">https://svn.osgeo.org/grass/grass-addons/raster/r.univar2.zonal</a><br>
>>>> > cd r.univar2.zonal/<br>
>>>> > make MODULE_TOPDIR=~/bin/grass65/grass6_devel/<br>
>>>> ><br>
>>>> > No errors were detected, but when I try:<br>
>>>> > make MODULE_TOPDIR=/home/myuser/bin/grass65/grass6_devel install<br>
>>>> ><br>
>>>> > I am getting:<br>
>>>> > ------------------------------------<br>
>>>> > if [ "" != "" ] ; then \<br>
>>>> > for dir in ; do \<br>
>>>> > make -C $dir install ; \<br>
>>>> > done ; \<br>
>>>> > fi<br>
>>>> > -----------------------------------<br>
>>>> ><br>
>>>> > Various other addons were installed using these steps, then I think I<br>
>>>> > am<br>
>>>> > missing something here ... Thank you in advance for any hints!<br>
>>>><br>
>>>> Perhaps that comes from the directory name which I find slightly<br>
>>>> confusing:<br>
>>>><br>
>>>> GRASS 6.4.1svn (nc_spm_08):~ > ls -la<br>
>>>> grass-addons/raster/r.univar2.zonal/<br>
>>>> total 76<br>
>>>> drwxr-xr-x 3 neteler neteler 4096 2010-02-18 21:40 ./<br>
>>>> drwxr-xr-x 53 neteler neteler 4096 2010-09-23 12:04 ../<br>
>>>> -rw-r--r-- 1 neteler neteler 1806 2010-02-18 21:36 globals.h<br>
>>>> -rw-r--r-- 1 neteler neteler 624 2009-04-09 10:44 Makefile<br>
>>>> -rw-r--r-- 1 neteler neteler 8426 2010-02-18 21:36 r3.univar_main.c<br>
>>>> -rw-r--r-- 1 neteler neteler 2286 2010-02-18 21:36<br>
>>>> r3.univar.zonal.html<br>
>>>> -rw-r--r-- 1 neteler neteler 9829 2010-02-18 21:36 r.univar_main.c<br>
>>>> -rw-r--r-- 1 neteler neteler 4411 2009-04-09 10:44 r.univar.zonal.html<br>
>>>> -rw-r--r-- 1 neteler neteler 3358 2009-02-24 08:27 sort.c<br>
>>>> -rw-r--r-- 1 neteler neteler 15223 2010-02-18 21:36 stats.c<br>
>>>> drwxr-xr-x 6 neteler neteler 4096 2010-09-22 09:25 .svn/<br>
>>>><br>
>>>><br>
>>>> GRASS 6.4.1svn (nc_spm_08):~ > grep univ<br>
>>>> grass-addons/raster/r.univar2.zonal/Makefile<br>
>>>> PROGRAMS = r.univar.zonal r3.univar.zonal<br>
>>>> R3UNIVAR = $(BIN)/r3.univar.zonal$(EXE)<br>
>>>> RUNIVAR = $(BIN)/r.univar.zonal$(EXE)<br>
>>>> $(RUNIVAR): $(OBJDIR)/r.univar_main.o $(OBJDIR)/sort.o $(OBJDIR)/stats.o<br>
>>>> $(R3UNIVAR): $(OBJDIR)/r3.univar_main.o $(OBJDIR)/sort.o<br>
>>>> $(OBJDIR)/stats.o<br>
>>>><br>
>>>> -> PROGRAMS that does not reflect the directory name.<br>
>>>><br>
>>>> GRASS 6.4.1svn (nc_spm_08):~ > g.extension r.univar.zonal<br>
>>>> WARNING: GRASS_ADDON_PATH is not defined, installing to<br>
>>>> ~/.grass6/addons/<br>
>>>> Fetching <r.univar.zonal> from GRASS-Addons SVN (be patient)...<br>
>>>> svn: URL<br>
>>>> '<a href="https://svn.osgeo.org/grass/grass-addons/raster/r.univar.zonal" target="_blank">https://svn.osgeo.org/grass/grass-addons/raster/r.univar.zonal</a>'<br>
>>>> doesn't exist<br>
>>>> ERROR: GRASS Add-on r.univar.zonal not found in repository or no network<br>
>>>> connection or another problem<br>
>>>><br>
>>>> But like this it works:<br>
>>>><br>
>>>> GRASS 6.4.1svn (nc_spm_08):~ > grep univ<br>
>>>> grass-addons/raster/r.univar2.zonal/Makefile<br>
>>>> PROGRAMS = r.univar.zonal r3.univar.zonal<br>
>>>> R3UNIVAR = $(BIN)/r3.univar.zonal$(EXE)<br>
>>>> RUNIVAR = $(BIN)/r.univar.zonal$(EXE)<br>
>>>> $(RUNIVAR): $(OBJDIR)/r.univar_main.o $(OBJDIR)/sort.o $(OBJDIR)/stats.o<br>
>>>> $(R3UNIVAR): $(OBJDIR)/r3.univar_main.o $(OBJDIR)/sort.o<br>
>>>> $(OBJDIR)/stats.o<br>
>>>> GRASS 6.4.1svn (nc_spm_08):~ > g.extension r.univar2.zonal<br>
>>>> WARNING: GRASS_ADDON_PATH is not defined, installing to<br>
>>>> ~/.grass6/addons/<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 43799.<br>
>>>> Compiling <r.univar2.zonal>...<br>
>>>> test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p<br>
>>>> OBJ.x86_64-unknown-linux-gnu<br>
>>>> gcc -I/home/neteler/grass64/dist.x86_64-unknown-linux-gnu/include -g<br>
>>>> -Wall -fno-common -fexceptions -mtune=nocona -m64<br>
>>>> -minline-all-stringops -DPACKAGE=\""grassmods"\"<br>
>>>> -I/home/neteler/grass64/dist.x86_64-unknown-linux-gnu/include -o<br>
>>>> OBJ.x86_64-unknown-linux-gnu/r.univar_main.o -c r.univar_main.c<br>
>>>> ...<br>
>>>><br>
>>>><br>
>>>> Proposals<br>
>>>> @authors: rename directory to first program name<br>
>>>><br>
>>>> @Laura: please try g.extension<br>
>>>><br>
>>>> best,<br>
>>>> Markus<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> grass-user mailing list<br>
>>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
>>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
>>><br>
>><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" target="_blank">www.sei-us.org</a><br>
><br>
><br>
> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><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>