[GRASS-user] Re: Installing r.area

2010-08-05 Thread LeeDaniel
Okay, I changed my Platform.make file from the original file # GRASS dirs GRASS_HOME = /usr/src/packages/BUILD/grass-6.4.0RC6 RUN_GISBASE = /usr/src/packages/BUILD/grass-6.4.0RC6/dist.i686-pc-linux-gnu to # GRASS dirs # GRASS_HOME = /usr/src/packages/BUILD/grass-6.4.0RC6

[GRASS-user] Re: Installing r.area

2010-08-04 Thread LeeDaniel
This will never work unless the OpenSuse packager fixes the wrong path (.../BUILD/... is wrong and needs to be /opt/...). Or you do it yourself... AFAIK, it is in your case in /opt/grass/include/Make/Platform.make Alright, I think I understood what to do. I edited

Re: [GRASS-user] Re: Installing r.area

2010-08-04 Thread Glynn Clements
LeeDaniel wrote: wrong path (.../BUILD/... is wrong and needs to be /opt/...). Or you do it yourself... AFAIK, it is in your case in /opt/grass/include/Make/Platform.make Alright, I think I understood what to do. I edited /opt/grass/include/Make/Platform.make (made a backup) and

[GRASS-user] Re: Installing r.area

2010-08-04 Thread LeeDaniel
Alright, I gave it another shot... GRASS_HOME is the location of the GRASS source tree. If you don't have the GRASS source tree, it should be unset. Okay, I turned it off by putting # in front of it. Now the line looks like this: # GRASS dirs # GRASS_HOME =

Re: [GRASS-user] Re: Installing r.area

2010-08-04 Thread Glynn Clements
LeeDaniel wrote: Its value is used to initialise a few other variables, which need to be changed when building without the source tree: ARCH_DISTDIR = $(GRASS_HOME)/dist.$(ARCH) ARCH_BINDIR = $(GRASS_HOME)/bin.$(ARCH) ERRORLOG=

Re: [GRASS-user] Re: Installing r.area

2010-08-03 Thread Jarek Jasiewicz
Hamish pisze: fyi I get what it does now, and just fixed a small bug in it which was stopping it from reading CELL maps. Thanks, Hamish, I was offline for over the week so I cannot fix it myself... Hamish If someone is interested in result of r.stats and r.area are the same (as I

[GRASS-user] Re: Installing r.area

2010-08-03 Thread LeeDaniel
Alright... I tried the following: l...@pc19384:~ svn checkout https://svn.osgeo.org/grass/grass-addons/raster/r.area/ Ar.area/main.c Ar.area/description.html Ar.area/Makefile Ausgecheckt, Revision 42981. l...@pc19384:~ cd r.area/ l...@pc19384:~/r.area make MODULE_TOPDIR=/opt/grass/

Re: [GRASS-user] Re: Installing r.area

2010-08-03 Thread Markus Neteler
On Tue, Aug 3, 2010 at 1:37 PM, LeeDaniel lee.daniel.1...@gmail.com wrote: Alright... I tried the following: l...@pc19384:~ svn checkout https://svn.osgeo.org/grass/grass-addons/raster/r.area/ A    r.area/main.c A    r.area/description.html A    r.area/Makefile Ausgecheckt, Revision 42981.

[GRASS-user] Re: Installing r.area

2010-08-02 Thread LeeDaniel
Alright, sorry, was gone over the weekend. Now I'm back. Here some additional information. Concerning installing the add-on r.area with g.extension: (you mean the installation via g.extension isn't functional on your machine) Right, my mistake. After using g.extension to get r.area I get the

[GRASS-user] Re: Installing r.area

2010-08-01 Thread Marcello Gorini
Hello Daniel, I also wanted to use r.area, so I installed it but had an error, as posted here http://osgeo-org.1803224.n2.nabble.com/New-modules-in-svn-add-on-r-area-and-r-convergence-td5161926.html#a5199839 Then afterwards Milton Ribeiro sent me another way to get the same results in a rather

Re: [GRASS-user] Re: Installing r.area

2010-08-01 Thread Hamish
Marcello wrote: I also wanted to use r.area, so I installed it but had an error, as posted here http://osgeo-org.1803224.n2.nabble.com/New-modules-in-svn-add-on-r-area-and-r-convergence-td5161926.html#a5199839 ... : But then I get the following error: ATENÇÃO: Raster map my_raster_clumped not

[GRASS-user] Re: Installing r.area

2010-07-31 Thread LeeDaniel
Hi ya'll! Alright, r.area still isn't functional, but I think we might be a few steps closer to the goal... I got the new and improved g.extension script from http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4/scripts/g.extension/ and popped it as an executable into $GISBASE/scripts/,

Re: [GRASS-user] Re: Installing r.area

2010-07-31 Thread Markus Neteler
On Sat, Jul 31, 2010 at 6:09 PM, LeeDaniel lee.daniel.1...@gmail.com wrote: Hi ya'll! Alright, r.area still isn't functional, (you mean the installation via g.extension isn't functional on your machine) but I think we might be a few steps closer to the goal... I got the new and improved

Re: [GRASS-user] Re: Installing r.area

2010-07-29 Thread Hamish
LeeDaniel wrote: Sorry to pester, but does anybody know where I could look to find a solution to this problem? I can't finish my analysis without either r.area or a complicated vector analysis, and it's something we have to do a lot over here, so I'd be very grateful for any further help.

Re: [GRASS-user] Re: Installing r.area

2010-07-29 Thread Hamish
fyi I get what it does now, and just fixed a small bug in it which was stopping it from reading CELL maps. I have the full svn version of grass built from source, and from the addons svn dir I built it with: make MODULE_TOPDIR=/usr/local/src/grass/svn/grass65/ (I just run grass out of the

[GRASS-user] Re: Installing r.area

2010-07-29 Thread LeeDaniel
Hi everyone, Thanks for the responses. I'm really sorry that I'm struggling so much here, but... It just isn't working for me. Hamish: I tried building GRASS from source and failed miserably. I know, it must sound pathetic. I went through all of the packages that are required for GRASS -

[GRASS-user] Re: Installing r.area

2010-07-27 Thread LeeDaniel
Thanks for the replies! I've tried it out and here are my responses to the suggestions: @ Markus - Downloaded the script and put it in my scripts folder, made it executable and made it assigned rights to myself. Just as a test I tried opening it as a GUI and, lo and behold, it worked. However,

Re: [GRASS-user] Re: Installing r.area

2010-07-27 Thread Markus Neteler
On Tue, Jul 27, 2010 at 12:58 PM, LeeDaniel lee.daniel.1...@gmail.com wrote: Thanks for the replies! I've tried it out and here are my responses to the suggestions: @ Markus - Downloaded the script and put it in my scripts folder, made it executable and made it assigned rights to myself.

[GRASS-user] Re: Installing r.area

2010-07-27 Thread LeeDaniel
Phew, I didn't think it'd be so complicated ;) Sorry! And the question mark that should be an equals sign was a typo as I was typing that line over (the other stuff I copy-pasted, but I'm a fast typer that's lazy with the mouse so I didn't do it for those two lines). As far as the binaries are