[GRASS5] problem compiling 57

glynn at gclements.plus.com glynn at gclements.plus.com
Wed Nov 10 09:56:56 EST 2004


ivan marchesini wrote:

> then configure:
> 
> __________________________________________________________________
> CFLAGS="-g -Wall" ./configure
> --with-grass50=/home/simona/Documents/GRASS/grass53_exp_2004_11_06/
> --with-tcltk-includes=/usr/include/ --with-postgres=no

Never specify /usr/include, as this can interfere with the compiler
(gcc 3.x includes a workaround, i.e. it deliberately ignores
-I/usr/include and similar switches).

> --with-opengl-includes=/usr/X11R6/include/GL/

This is incorrect; it should be just:

	--with-opengl-includes=/usr/X11R6/include

The "GL" is part of the header name, e.g. <GL/gl.h>, so with your
setting the compiler would look for /usr/X11R6/include/GL/GL/gl.h,
which will probably fail.


> GRASS GIS compilation log
> -------------------------
> Started compilation: mar nov  9 19:10:18 CET 2004
> Errors in:
> /home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/XDRIVER/XDRIVER24
> /home/simona/Documents/GRASS/grass57_exp_2004_11_06/display/drivers/PNG

As Markus suggests, you need to enable FreeType support (a
poorly-implemented "improvement" to the drivers was recently
committed, with the result that FreeType is currently a non-optional
dependency).

> /home/simona/Documents/GRASS/grass57_exp_2004_11_06/raster3d/r3.showdspf

This module requires Motif, but it is compiled regardless of whether
you use --with-motif.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list