DSL Tips and Tricks :: A quick guide on compiling XOrg 7.0 on DSL



So I guess either /opt/xorg72 or /usr would be the output directory to aim for - the problem with the build_from_tarballs script is that you cannot pass things like --prefix=/usr or --exec-prefix=/usr (so that *.conf files end up in /etc).

I compiled the latest version of libdrm with the latest version of libmesa - in order to compile I had to load XFree86.unc and XFree86-dev.unc but I did not load these before starting the latest build_from_tarballs attempt which is maybe why it failed at xdriinfo.

libmesa compiled into /usr/local (there is no ./configure script) so I guess I will have to modify the makefile to get it to compile elsewhere. When I tried the -m switch with the destination of the libmesa sources, the compile failed at xorg-server complaining that /libmesa/src/GL/include/array_cache (or something like that) was missing.

Repeating all this is slightly tedious on a 267MHz Pentium II...

Building X on 267Mhz? You have my respect...

Xorg 6.9.0 took 4 hours on my P3-1066...
And gcc 4.0.3 bootstrap + test suite was almost 24 hours..

Yes, that script will place everything into the output dir...

What do you mean by "latest" version? from cvs/git?  From my experience... only a few versions work with certain builds of x
hmm.. the older versions of libmesa prompted you for the install dir, but I don't think /usr/local mattered (with git)... but I can't seem to remember.

Quote
What do you mean by "latest" version?

Mesalib-6.5.3 and libdrm-2.3.0 - these seemed to be the latest, non-testing, versions.

Mesa seems to need the Xlib headers - I'm wondering if the ones from XFree86-devel are too old and I shouldn't compile libX11 from the 7.2 release before I compile mesa

The wiki seems to suggest using bleeding edge libdrm for 7.2 (tho it is outdated)

tbh, I ended up doing a lot of trial and error myself... most of the problems were solved just by changing a lib/program's version.
But I can't seem to remember if I did encounter your problem(s) or not.  I might try 7.2... but the amount of time it takes to build just puts me off slightly.

I applaud you for trying it out on that machine as well :)

Next Page...
original here.