Hi jachym,<br>
do i need subversion tool for downloading the source code .???<br>
OR<br>
i have taken grass-6.2.3.tar.gz. is it will do the same that u mentioned in the previous mail?<br>
But it does not have grass_trunk directory ..but it has the raster dir in it..<br>
could i do the same things on grass-6.2.3 and adding r.example to raster directory,<br>
<br>
<br>
<br><br><div><span class="gmail_quote">On 2/27/08, <b class="gmail_sendername">Jachym Cepicky</b> <<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
so,<br> since I do not understand, what you are doing, I'll try to describe the<br> "development procedure" from the beginning:<br> <br> 1) download the source code<br> 2) go to grass_trunk directory<br> 3) download r.example and unpack to grass_trunk/raster directory<br>
4) ./configure ... ; make; sudo make install<br> 5) go to grass_trunk/raster/r.example directory<br> 6) You'll have to adjust MODULE_TOPDIR variable in Makefile to "../.."<br> 7) run make<br> 8) go to grass_trunk<br>
9) run sudo make install<br> <br> 10) start grass<br> 11) r.example should be there (r.example --help is your friend)<br> <br> BTW: Maybe we should move [rv].example from intevation server to osgeo<br> as well ?<br> <br>
Where to store it? grass_source/grass-examples ?<br> <br> Jachym<br> <br> Kunal Malik píše v St 27. 02. 2008 v 10:51 +0530:<br> <br>> Hi!!<br> > I have set the Enviroment Variable by eval 'g.gisenv'<br> ><br>
> when i make echo $LOCATION_NAME it gives Map1<br>
> echo
$MAPSET GIVES kunal<br>
> echo
$GISDBASE =/usr/local/grassdata<br> > i have following queries<br> ><br> > 1.<br> > i have copied the r.example dir into<br> > the /usr/local/grass-6.2.3/raster/ and add the r.example in the Make<br> > file present in this directory...when i make the directory it still<br>
> giving the message<br> > ERROR: MAPSET PERMANENT - permission denied<br> > why is it so when i am using kunal as a mapset.<br> ><br> > 2.<br> > i want to see the output of r.example which i added ..<br>
> i will run make install after make..my grass is also running ..where<br> > to go to check the output.<br> ><br> > Please suggest the way to handle the two problems.<br> > Thanks<br> ><br> ><br> ><br>
><br> > On 2/27/08, Kunal Malik <<a href="mailto:kunal.malik81@gmail.com">kunal.malik81@gmail.com</a>> wrote:<br> > Thanks Glynn for your support.<br> ><br> ><br> ><br> > On 2/26/08, Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>> wrote:<br>
><br> > Jachym Cepicky wrote:<br> ><br> > > sorry,<br>
>
> $GRASSDATA should be the directory, where your GRASS<br> > data are located<br>
>
> $LOCATION_NAME should be name of the location, you<br> > are using for<br> > > current GRASS session<br> ><br> ><br>
>
FWIW, the name of the GRASS variable for the database<br> > directory is<br> > GISDBASE.<br> ><br>
>
You can make the GRASS variables appear as shell<br> > variable with the<br> > command:<br> ><br>
>
eval `g.gisenv`<br> ><br>
>
After which, you can use the variables like e.g.:<br> ><br>
>
ls -l $GISDBASE/$LOCATION_NAME<br> > or:<br>
>
ls -l $GISDBASE/$LOCATION_NAME/$MAPSET<br> > etc.<br> ><br>
>
As for the error message in the subject: you must own<br> > the mapset<br>
>
directory in order to select it as the current mapset.<br> > The PERMANENT<br>
>
mapset will normally be owned by whoever originally<br> > created the<br> > location.<br> ><br>
>
You shouldn't use the PERMANENT mapset as the current<br> > mapset for daily<br>
>
use; create a new mapset instead. PERMANENT should be<br> > reserved for<br>
>
important data which should be readily available<br> > regardless of the<br> > current mapset.<br> ><br>
>
Until you get to the point of needing several mapsets<br> > in one location,<br>
>
you probably shouldn't have anything in the PERMANENT<br> > mapset except<br>
>
for the standard files (DEFAULT_WIND, PROJ_INFO,<br> > PROJ_UNITS).<br> ><br> ><br> > --<br>
>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br> ><br> ><br> ><br> ><br> > --<br> > Thanks & Regards<br> ><br> > Kunal Malik<br>
> 09871147561<br> ><br> ><br> ><br> > --<br> > Thanks & Regards<br> ><br> > Kunal Malik<br> > 09871147561<br> <br>--<br> <br>Jachym Cepicky<br> e-mail: jachym.cepicky gmail com<br> URL: <a href="http://les-ejk.cz">http://les-ejk.cz</a><br>
GPG: <a href="http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub">http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub</a><br> <br></blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards<br><br>Kunal Malik<br>09871147561