[GRASS-dev] Compiling GRASS on Ubuntu

dasuni kannangara dasuni7 at gmail.com
Thu Apr 9 00:35:15 EDT 2009


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. 




On Wed, Apr 8, 2009 at 11:29 AM, dasuni kannangara  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 at 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 at 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 at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev



-- 
View this message in context: http://n2.nabble.com/Compiling-GRASS-on-Ubuntu-tp2603661p2609417.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20090408/a3e7f275/attachment.html


More information about the grass-dev mailing list