After the DRI tree has been compiled you can install the XFree86 headers, libraries, programs, etc for testing.
As mentioned above, the install directory is specified by the
ProjectRoot
variable in the host.def
file.
Create that directory now if it doesn't already exist:
mkdir /usr/XF86-main
You'll have to change to root since the install process puts
several files in /etc/X11/
and sets the setuid flag on
the X server executable.
cd ~/DRI-CVS/build/xc su make installEdit your
/etc/ld.so.conf
file and put
/usr/XF86-main/lib
as the first line.
Continue with:
ldconfig exit
Look in /usr/XF86-main
to be sure the files installed
there.
Strictly speaking, installing the DRI tree isn't required. It's possible to run and test the X server directly from the build directory but it's a bit error prone.
To update your X locale information do the following:
cd ~/DRI-CVS/build/xc/nls xmkmf -a make make installThis will prevent a locale error message from being printed when you run Xlib programs.