[GRASS5] configure/libGL fails on Solaris

Hi,

if anyone has a hint for me - I tested the current
configure on SUN/solaris 2.6, it fails to detect
the libGL (although present). Some lib is missing for
the text, see attachement. Might be trivial, but
I need a hint what to add,

thanks
Markus

(attachments)

config.gl_log (8.7 KB)

On Thu, Aug 23, 2001 at 02:56:31PM +0200, Markus Neteler wrote:

if anyone has a hint for me - I tested the current
configure on SUN/solaris 2.6, it fails to detect
the libGL (although present). Some lib is missing for
the text, see attachement. Might be trivial, but
I need a hint what to add,

Somehow the right X11 libs are needed and missing.
(Usually it should be tested before the GL support or you might need
to speficy extra xlibs....)

configure:6009: checking for glBegin in -lGL
configure:6028: gcc -o conftest -g -O2 -L/usr/lib conftest.c -lGL -L/usr/openwin/lib -R/usr/openwin/lib -lm 1>&5
Undefined first referenced
symbol in file
XSynchronize /usr/lib/libGL.so
XShmPutImage /usr/lib/libGL.so
XDrawPoint /usr/lib/libGL.so
XFreeColors /usr/lib/libGL.so
XFreePixmap /usr/lib/libGL.so
XQueryColors /usr/lib/libGL.so
XShmQueryVersion /usr/lib/libGL.so
XCreateImage /usr/lib/libGL.so

Markus Neteler wrote:

if anyone has a hint for me - I tested the current
configure on SUN/solaris 2.6, it fails to detect
the libGL (although present). Some lib is missing for
the text, see attachement. Might be trivial, but
I need a hint what to add,

I've committed a fix to configure[.in].

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

On Thu, Aug 23, 2001 at 02:27:17PM +0100, Glynn Clements wrote:

Markus Neteler wrote:

> if anyone has a hint for me - I tested the current
> configure on SUN/solaris 2.6, it fails to detect
> the libGL (although present). Some lib is missing for
> the text, see attachement. Might be trivial, but
> I need a hint what to add,

I've committed a fix to configure[.in].

Thanks Glynn! (Just found out that -X11 was needed :-).

So: the updated NVIZ also runs on SUN/Solaris - of course without DRI.
(using the old tcl/tk8.0.4, I have added related stuff to togl.c).

I have also tested on a non-DRI Xfree4.0.3 Linux, NVIZ is also running.

Markus