[GRASSLIST:2430] Re: grass53 compilation
Glynn Clements
glynn.clements at virgin.net
Sun Feb 1 20:56:30 EST 2004
Wolfgang von Hansen wrote:
> > > Hi, trying to compile grass53 i get the following errors:
> > >
> > > GRASS GIS source code compiled.
> > >
> > > Compilation error in module: src/raster/r.in.gdal (ignored)
> > > Compilation error in module: src.contrib/GMSL/g3d (ignored)
> > > Compilation error in module: src.contrib/DUKE/r.terraflow (ignored)
> > >
> > > is it due to the compiler version as the problem in grass57?
> > > is it possible fom me to fix this changing few parameters in the sources?
> >
> > It's hard to say without seeing the actual error messages from "make".
>
> I also get an error for src.contrib/GMSL/g3d. My system runs SuSE
> 8.2 with gcc 3.3.
>
> /usr/local/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL
> make -f OBJ.i586-pc-linux-gnu/make.rules
>
> gcc -I/usr/local/src/grass/src/include -march=i586 -O2 -I/usr/local/src/grass/src/libes/dspf -I/usr/local/src/grass/src/libes/ogsf -I/usr/X11R6/include -c main_ogl.c -o OBJ.i586-pc-linux-gnu/main_ogl.o
> In file included from main_ogl.c:20:
> kns_defines.h:4: error: parse error before "GLXContext"
Right. r3.showdspf.openGL will fail to compile if you don't use the
--with-glw configure switch; but if you do use that switch, configure
will fail if you don't have both Motif and the GLw library.
Essentially, it should only attempt to compile r3.showdspf.openGL if
you use --with-glw, but at present it is being compiled
unconditionally.
Unless you actually need r3.showdspf.openGL, just ignore the error.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list