[GRASS5] [bug #752] (grass) configure: doesn't add -lGL -lGLw -lGLUT entries in head file (Solaris)

Glynn Clements glynn.clements at virgin.net
Tue Jun 12 14:13:57 EDT 2001


Request Tracker wrote:

> the "configure" doesn't add -lGL -lGLw -lGLUT in head file on Solaris/SUN
> while this is working on Linux. Similar was reported for MaxOSX recently.
> 
> After adding above entries into head file, everything compiles fine.
> The libraries are detected:
> 
> [...]
> checking GL/gl.h and GL/GLwMDrawA.h...  -I/usr/include -I/usr/local/include and  -I/usr/include
> checking for glBegin in -lGL... (cached) no
> checking for gluBeginCurve in -lGLU... (cached) no
> checking for GLwDrawingAreaMakeCurrent in -lGLw... (cached) no
> checking for GLwCreateMDrawingArea in -lGLwM... (cached) no
> [...]
> 
> I have no idea how to fix this (as it works for Linux). Probably
> some wrong variable quoting?

What does config.log say?

After the line:

configure:4226: checking for glBegin in -lGL

there should be the compilation command, along with any error messages
and the source of the test program. The error message(s) should
provide some clues as to why it failed.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list