![]() mini-HOWTO: Compiling and Installing the mach64 Branch of DRI |
||||||||||
|
Last Updated: Feb. 14, 2003 Permission is granted to make, modify and distribute copies of this document as you see fit. If you find errors or omissions please email me. Since I wrote this HOWTO, the DRI compilation guide
has been updated. It suggests that you install over your main XFree86
installation. If you decide to do that, just follow the instructions
below for checking out the mach64 CVS branch and then follow the DRI
compilation guide. If you want to keep your existing installation
intact instead, you'll need to set If you'd rather use binaries, daily builds of the current DRI branch can be found here. These packages allow you to install over your existing XFree86 installation and will also allow you to restore your original installation from backups created by the install script. If you decide to use the binaries and want XVideo support, install my unified DRI and XVideo binaries after you have installed the DRI binaries. OK, now that that's out of the way, on with the HOWTO... First, you need to have an installed copy of XFree86. You can get this from your distribution or download a binary release from XFree86.org. If you build XFree86 source, make sure you install the build before continuing. Next, read the DRI Compilation Guide, but don't actually do the steps until you have read the following. To checkout the mach64 DRI branch (rather than the HEAD) from CVS, use the -r option with the branch tag. The current branch tag is: % cd ~ % mkdir DRI-CVS % cd DRI-CVS % cvs -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri login (hit ENTER when prompted for a password) % cvs -z3 -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri \ co -r mach64-0-0-6-branch xc As mentioned above, to build DRI you now need to have an
existing XFree86 installation, since the DRI CVS tree was pruned of
code which isn't dependant on DRI. So before you compile you must (as root) create the % su % mkdir /usr/X11R6-DRI % cd /usr/X11R6-DRI % mkdir include % mkdir lib % cd include % lndir -silent -ignorelinks ../../X11R6/include % cd ../lib % lndir -silent -ignorelinks ../../X11R6/libThe install process can have problems with multiple levels of symlinks, so you should check /usr/X11R6-DRI/lib/X11 to see if you have symlinks to symlinks in /usr/X11R6/lib/X11 . You may want to delete these links and/or directories in /usr/X11R6-DRI/lib/X11 and point them to the appropriate place in /etc/X11 .
Now follow the instructions in the DRI Compilation Guide to build and install DRI and the kernel modules (you need For more information on the status and limitations of the driver, see my mach64 DRI status page. |
|||||||||
All images and text © 1998-2003 Leif L. Delgass, All Rights Reserved Home |
World Trip |
Photos |
Linux |
Links |
Email me |