Building the X Window System from the Source Distribution

Jim Gettys and Keith Packard (for X11R6.8.1)


David Dawes and Matthieu Herrb (for XFree86 4.4 RC2)

17 September 2004

This document describes how to build the X Window System from the X.Org monolithic source distribution and is designed to be used in conjunction with the operating system (OS) specific README files.

NOTE: Refer to the appropriate OS-specific README file before attempting to build the X distribution. These files often contain additional information that you need to successfully build for your OS.

We highly recommend using gcc to build the X distribution, but X also generally builds with the native compiler for each OS platform; The build tools known to be required include: gcc, make, C library development package, bison, flex, zlib (development package), ncurses (development package), fontconfig (development package), expat (development package), and Perl.

1. How to get the X11R6.8.1 distribution source

2. Configuring the source before building

3. Using a shadow directory of symbolic links for the build

4. Building and installing the distribution

5. Reconfiguring the server (source distribution)

6. Other useful make targets