%general-entities; ]> $LastChangedBy$ $Date$ MesaLib-&mesalib-version; MesaLib Introduction to MesaLib Mesa is an OpenGL compatible 3-D graphics library. &lfs65_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &mesalib-md5sum; Download size: &mesalib-size; Estimated disk space required: &mesalib-buildsize; Estimated build time: &mesalib-time; Additional Downloads Recommended patch: (Needed if testing the Xorg installation per BLFS instructions) MesaLib Dependencies Required , , , , and Optional (required to build motif widgets) User Notes: Installation of MesaLib Unlike other packages, the MesaLib-&mesalib-version;.tar.bz2 archive will extract to the Mesa-&mesalib-version; directory. Install MesaLib by running the following commands: sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure && patch -Np1 -i ../MesaLib-&mesalib-version;-add_xdemos-1.patch && ./configure $XORG_CONFIG --enable-xcb && make This package does not come with a test suite. Now, as the root user: make install && install -v -m755 -d ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version; && install -v -m644 docs/* \ ${XORG_PREFIX}/share/doc/MesaLib-&mesalib-version; Finally, if installing to any prefix other than /usr, you should create symlinks to the GL headers in /usr/include. Execute the following command as the root user: ln -s -v ${XORG_PREFIX}/include/GL /usr/include Command Explanations sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure: by default, Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS and CXXFLAGS with this command. : use the XCB backend instead of the default XLib backend for GLX. : build motif widgets into the GL widgets library (requires lesstif). Contents Optionally Installed Programs Installed Libraries Installed Directories glxgears and glxinfo libEGL.so, libGL.so, libGLU.so, libGLw.so, and *_dri.so $XORG_PREFIX/include/{EGL,KHR}, $XORG_PREFIX/lib/{dri,egl}, and $XORG_PREFIX/share/doc/MesaLib-&mesalib-version; Short Descriptions glxgears is a GL demo useful for troubleshooting graphics problems. glxgears glxinfo is a diagnostic program that displays information about the graphics hardware and installed GL libraries. glxinfo libEGL.so provides a native platform graphics interface as defined by the EGL-1.4 specification. libEGL.so libGL.so is the main OpenGL library. libGL.so libGLU.so is the OpenGL Utility library. libGLU.so libGLw.so is the Xt/Motif OpenGL drawing area widget library. libGLw.so