[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

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= $(GRASS_HO

[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 = /usr/src/packages/BUIL

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 bac

[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 /opt/grass/include/M

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

2010-08-03 Thread Markus Neteler
On Tue, Aug 3, 2010 at 1:37 PM, LeeDaniel 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. > l...@pc19384:~

[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 Mon, Aug 2, 2010 at 3:14 PM, Hamish wrote: > Markus N: >> > ...does /opt/grass/include/ contain anything? Does it have >> > a subdirectory grass/ with a series of .h files? This are >> > needed and not found above since there is something wrong >> > with your paths. > > LeeDaniel: >> The direct

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 tested

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

2010-08-02 Thread Hamish
Markus N: > > ...does /opt/grass/include/ contain anything? Does it have > > a subdirectory grass/ with a series of .h files? This are > > needed and not found above since there is something wrong > > with your paths. LeeDaniel: > The directory /opt/grass/include/grass/ does indeed exist > and it'

[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 fo

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 not found in map

[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 f

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

2010-07-31 Thread Markus Neteler
On Sat, Jul 31, 2010 at 6:09 PM, LeeDaniel 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 g.extension script fro

[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/, th

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

2010-07-31 Thread Markus Neteler
On Thu, Jul 29, 2010 at 8:30 PM, LeeDaniel wrote: > > 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. Apparently only now g.extension gets the needed testing... It should not require code compilation but needs th

[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 - really

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 sourc

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. T

[GRASS-user] Re: Installing r.area

2010-07-29 Thread LeeDaniel
Hi there... 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. Thanks a bun

[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 co

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

2010-07-27 Thread Markus Neteler
On Tue, Jul 27, 2010 at 12:58 PM, LeeDaniel 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. [the next release will

[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, it