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

Markus Neteler neteler at geog.uni-hannover.de
Fri Jun 22 04:40:29 EDT 2001


Glynn,

you got it! Now the Mesa stuff is detected properly on Solaris/SUN.

Thanks for your assistance,

 Markus


On Fri, Jun 22, 2001 at 07:02:40AM +0100, Glynn Clements wrote:
> 
> Markus Neteler wrote:
> 
> > > Markus Neteler wrote:
> > > 
> > > > even if the cache is disabled, the libraries won't be added.
> > > > Seems to be a coding problem in configure.
> > > 
> > > Yes, but if the caching is disabled, config.log will include the error
> > > message(s) from the attempt to compile the test program.
> > 
> > Well, here we are:
> 
> > configure:4219: checking for glBegin in -lGL
> > configure:4238: gcc -o conftest -g -O2   -lm  -L/usr/lib conftest.c -lGL
> > 1>&5
> > Undefined                       first referenced
> >  symbol                             in file
> > XSynchronize                        /usr/lib/libGL.so
> > XShmPutImage                        /usr/lib/libGL.so
> > XDrawPoint                          /usr/lib/libGL.so
> 
> Try adding $X_LIBS to the LDFLAGS setting for GL and GLU (as is
> already done for GLw). Around line 880 in configure.in.
> 
> -- 
> Glynn Clements <glynn.clements at virgin.net>
> _______________________________________________
> grass5 mailing list
> grass5 at geog.uni-hannover.de
> http://www.geog.uni-hannover.de/mailman/listinfo/grass5

-- 
Markus Neteler *  University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494  Fax: -3984



More information about the grass-dev mailing list