DRI Compilation Guide : Installing
Previous: Compiling the XFree86/DRI tree
Next: X Server Configuration

8. Installing

After the DRI tree has been compiled you can install the XFree86 headers, libraries, programs, etc for testing.

8.1. X Installation

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 install
	  
Edit 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.

8.2. Update Locale Information

To update your X locale information do the following:

             cd ~/DRI-CVS/build/xc/nls
             xmkmf -a
             make
             make install
          
This will prevent a locale error message from being printed when you run Xlib programs.


DRI Compilation Guide : Installing
Previous: Compiling the XFree86/DRI tree
Next: X Server Configuration