Thanks a lot. I could install all dependencies and successfully compiled GRASS source code. I got some errors on nviz and i solved those too. somehow, through console i compiled the code. but after that, i opened the codes in eclipse (whole project). when i tried to build the project, i got 21 errors from main.c file in visualization/ximgview folder. I cant figure out the reasons. i have attached a screenshot of those too. Please tell me how i can solve those.<img src="http://n2.nabble.com/file/n2609417/Screenshot-C-C%252B%252B%2B-%2Bsimulation-z-visualization-ximgview-main.c%2B-%2BEclipse%2BPlatform%2B.png" border="0" />



<blockquote class="quote light-black dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">Rainer M Krug-6 wrote:</div>
<div class="quote-message">
On Wed, Apr 8, 2009 at 11:29 AM, dasuni kannangara <dasuni7@gmail.com> wrote:
> Thanks Markus. i followed the instructions, still am getting the same
> result. I have attached a screen shot of the console. Please refer it and
> please reply what i can do to compile the codes properly.console

When you execute ./configure, look out for error messages. In your
case, configure quits with an error message:
configure: error: *** Unable to locate lex

in your case, you have to install lex

Make sure that you have all dependencies (and the dev packages!) installed.

Cheers

Rainer

>
> Markus Metz-2 wrote:
> dasuni kannangara wrote: > i am using ubuntu 8.10. I have downloaded grass
> 6.2.3 source code. I referred the INSTAL file and installed all pre
> requisites. I am trying to compile the source code now. But when i enter the
> command 'make', it says, > > Makefile:22: include/Make/Platform.make: No
> such file or directory > Makefile:23: include/Make/Grass.make: No such file
> or directory > make: *** No rule to make target `include/Make/Grass.make'.
> Stop. > Have you configured the source code first with ./configure? See also
> (B) COMPILATION in the INSTALL file. > Please provide me step by step
> details on how to compile the source code. > 1. get source code for
> grass-6.4.0RC3, this version is much better than grass-6.2.3 2. run
> ./configure within the directory grass-6.4.0RC3 with your choice of
> configuration options, optionally first ./configure --help to see
> configuration options 3. only now can you 'make' grass see also grass wiki
> on compile and install [1] [1]
> http://grass.osgeo.org/wiki/Compile_and_Install#Ubuntu
> _______________________________________________ grass-dev mailing list
> grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
>
> ________________________________
> View this message in context: Re: Compiling GRASS on Ubuntu
> Sent from the Grass - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>



-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

</div>
</div></blockquote>


<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Compiling-GRASS-on-Ubuntu-tp2603661p2609417.html">Re: Compiling GRASS on Ubuntu</a><br>
Sent from the <a href="http://n2.nabble.com/Grass---Dev-f1886573.html">Grass - Dev mailing list archive</a> at Nabble.com.<br>