On Sun, 22 Aug 1999, Alan Tennent wrote:
> Hello, I have downloaded the Mesa libs, but I still can't compile
> programs that use GLUT. Somewhere I read that glut was included in The
> newer versions of Mesa.
>
> When I do rpm -qa | grep Mesa I get:
> Mesa-glut-devel-3.0-1TL
> Mesa-3.0-2
> Mesa-demos-3.0-2
>
> And when I try and compile the program XRACER, that uses GLUT and Mesa,
> I get:
>
> checking for glNewList in -lGL... no
> checking for glNewList in -lMesaGL... no
> configure: error: GL library was not found
It's not GLUT - it just can't find Mesa.
You probably have it installed somewhere weird - (the README
tells you to put a symlink from /usr/lib/libGL.so and /usr/lib/libGLU.so
to wherever Mesa is installed...did you do that?).
Another alternative is that you compiled Mesa as a libc5 library
and you have a glibc/libc6 system. There is a nasty hack in
mklib.glide that you have to remove to make glibc Mesa libraries:
Change this:
# If we're making the libMesaGL.so file then also link in the Glide libs.
# The -L/usr/i486-linux-libc5/lib option is specified so that licb5 is
# used on RedHat 5.x systems. This helps to fix Quake problems. This
# tip comes from Emil Briggs ([EMAIL PROTECTED]). Thanks!
if [ $LIBRARY = "libMesaGL.so" ] ; then
GLIDELIBS="-L/usr/local/glide/lib -lglide2x -L/usr/i486-linux-libc5/lib -lm"
fi
To this:
GLIDELIBS="-L/usr/local/glide/lib -lglide2x -lm"
(Whoever did this: Next time, please don't put Quake-specific hacks into
the general release - especially if you are going to document them in
README.quake where the people who need to know WON'T be looking!)
Steve Baker (817)619-2657 (Vox/Vox-Mail)
Raytheon Systems Inc. (817)619-2466 (Fax)
Work: [EMAIL PROTECTED] http://www.hti.com
Home: [EMAIL PROTECTED] http://web2.airmail.net/sjbaker1
_______________________________________________
Mesa-bug maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev