Hi list,

I’m trying to compile GRASS 7.0.4 on an HPC cluster running Red Hat Enterprise 
Linux 6.5. We use EasyBuild to manage our toolchain, and I’m compiling GRASS 
against numerous packages that I’ve previously built, such as PROJ4, GDAL, etc.

Unfortunately, during the compilation process, I get errors of this sort:

Error: 
/home/brob695/.local/easybuild/build/GRASS/7.0.4/foss-2015a/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/ogsf.h:475:
 Syntax error at 'GLdouble'
Error: 
/home/brob695/.local/easybuild/build/GRASS/7.0.4/foss-2015a/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/ogsf.h:475:
 Syntax error at ';'
Error: 
/home/brob695/.local/easybuild/build/GRASS/7.0.4/foss-2015a/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/defs/ogsf.h:178:
 Syntax error at 'GLuint'
Error: 
/home/brob695/.local/easybuild/build/GRASS/7.0.4/foss-2015a/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/defs/ogsf.h:445:
 Syntax error at 'gsd_set_font'

Because the objective is to convert data into graphical formats rather than 
displaying it, we don’t have OpenGL rendering; even the OpenGL libraries and 
headers are not available. However, I have attempted to disable OpenGL 
dependency using the --without-opengl configuration option; moreover, I see 
“checking whether to use OpenGL... no” in my configuration log.

It seems that GLdouble and so forth are OpenGL data types, and presumably 
therefore I can’t use them without supplying the OpenGL headers.

I’ve tried to find a way to disable OGSF and even NVIZ, thinking that maybe 
these are dependent on OpenGL in some way, but to no avail.

Is there something I’ve overlooked that will allow me to work around this 
problem and get on with a GRASS build without OpenGL?

Thanks,
Ben


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to