Monday, January 07, 2008

Mesa **
Once glide's installed, you need to install Mesa, a free OpenGL implementation by Brian Paul
(brianp@elastic.avid.com). Luckily, you won't have to look far, because Mesa 2.6 is included with the Quake
II binaries. All you have to do is move it to the right place:
cd /usr/local/games/quake2
cp libMesaGL.so.2.6 /usr/local/lib
ldconfig
The RedHat distribution comes with a (IMO) broken ld.so configuration. /usr/local/lib is not part
of ld.so's search path by default, so anything you install there won't get used. You can remedy the situation
by adding the line /usr/local/lib to your /etc/ld.so.conf file, or including
/usr/local/lib in your $LD_LIBRARY_PATH. Alternatively, you could install all new libraries
someplace like /lib, but this approach seriously offends my tidy nature.
If you want to upgrade Mesa to a more recent version (Mesa 3.0 is the most recent version as of this writing),
you can download the latest from ftp://iris.ssec.wisc.edu/pub/Mesa If you have a RedHat 5.x or other
glibc−based Linux distribution, see Glibc, RedHat 5.x, Debian 2 considerations in the Troubleshooting/FAQs
section for important information about compiling libraries for Quake.
After you've built it according to the instructions, you will have to do two things:
Remove your old Mesa installation. If you previously installed a libMesaGL.so.2.6 as
described above, you must remove it or Quake II may not use the new version.
cd /usr/local/lib/
rm −f libMesaGL.so.2*
•
If the new Mesa has a major version number that's greater than 2, you need to create a link to it with
the name libMesaGL.so.2:
cd /usr/local/lib/
ln −s /wherever/you/installed/it/libMesaGL.so.3.0 libMesaGL.so.2
ldconfig
•