so, since I do not understand, what you are doing, I'll try to describe the "development procedure" from the beginning:
1) download the source code 2) go to grass_trunk directory 3) download r.example and unpack to grass_trunk/raster directory 4) ./configure ... ; make; sudo make install 5) go to grass_trunk/raster/r.example directory 6) You'll have to adjust MODULE_TOPDIR variable in Makefile to "../.." 7) run make 8) go to grass_trunk 9) run sudo make install 10) start grass 11) r.example should be there (r.example --help is your friend) BTW: Maybe we should move [rv].example from intevation server to osgeo as well ? Where to store it? grass_source/grass-examples ? Jachym Kunal Malik píše v St 27. 02. 2008 v 10:51 +0530: > Hi!! > I have set the Enviroment Variable by eval 'g.gisenv' > > when i make echo $LOCATION_NAME it gives Map1 > echo $MAPSET GIVES kunal > echo $GISDBASE =/usr/local/grassdata > i have following queries > > 1. > i have copied the r.example dir into > the /usr/local/grass-6.2.3/raster/ and add the r.example in the Make > file present in this directory...when i make the directory it still > giving the message > ERROR: MAPSET PERMANENT - permission denied > why is it so when i am using kunal as a mapset. > > 2. > i want to see the output of r.example which i added .. > i will run make install after make..my grass is also running ..where > to go to check the output. > > Please suggest the way to handle the two problems. > Thanks > > > > > On 2/27/08, Kunal Malik <[EMAIL PROTECTED]> wrote: > Thanks Glynn for your support. > > > > On 2/26/08, Glynn Clements <[EMAIL PROTECTED]> wrote: > > Jachym Cepicky wrote: > > > sorry, > > $GRASSDATA should be the directory, where your GRASS > data are located > > $LOCATION_NAME should be name of the location, you > are using for > > current GRASS session > > > FWIW, the name of the GRASS variable for the database > directory is > GISDBASE. > > You can make the GRASS variables appear as shell > variable with the > command: > > eval `g.gisenv` > > After which, you can use the variables like e.g.: > > ls -l $GISDBASE/$LOCATION_NAME > or: > ls -l $GISDBASE/$LOCATION_NAME/$MAPSET > etc. > > As for the error message in the subject: you must own > the mapset > directory in order to select it as the current mapset. > The PERMANENT > mapset will normally be owned by whoever originally > created the > location. > > You shouldn't use the PERMANENT mapset as the current > mapset for daily > use; create a new mapset instead. PERMANENT should be > reserved for > important data which should be readily available > regardless of the > current mapset. > > Until you get to the point of needing several mapsets > in one location, > you probably shouldn't have anything in the PERMANENT > mapset except > for the standard files (DEFAULT_WIND, PROJ_INFO, > PROJ_UNITS). > > > -- > Glynn Clements <[EMAIL PROTECTED]> > > > > > -- > Thanks & Regards > > Kunal Malik > 09871147561 > > > > -- > Thanks & Regards > > Kunal Malik > 09871147561 -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
signature.asc
Description: Toto je digitálně podepsaná část zprávy
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user