Building Xorg from tarballs dies with xdriinfo needing Mesa

R.L. Horn lists at
Sat Jan 13 17:44:40 PST 2007

On Fri, 12 Jan 2007, ahaning at wrote:

> xdriinfo's configure script is dieing with:
> configure: error: cannot find GL library - make sure Mesa or other 
> OpenGL package is installed

The dependency ordering leaves a little to be desired. 
Fortunately, nothing else depends on xdriinfo, so you can just delete its 
directory and build it by hand later (the script won't mind).

Also, for the 1.1.0 server, make sure you're building against Mesa 6.5 
(6.5.1 and later won't work).  Once you have a complete X installation you 
can build the Mesa libraries.  Note that, once finished, you may have to 
add a "ModulePath" to xorg.conf or diddle around with some symlinks to get 
the server to find the libraries.

Finally, whatever you do, *don't* install the Mesa headers to the same 
prefix as X (/usr or /usr/local is preferred).  Doing so is almost 
guaranteed to cause grief when it comes time to build a new Mesa version.

More information about the xorg mailing list