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