NOTE: Refer to the appropriate OS-specific README file in xc/programs/Xserver/hw/xfree86/doc 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, ncurses (development package), and Perl.
The monolithic tree also includes copies of some packages maintained outside the X.Org project for convenience in building on machines that do not already have them installed. These include FreeType 2, fontconfig, expat, xterm, and zlib. For most uses however, it is recommended that you install the latest version directly from the main distribution site, or use the packages provided in your operating system, as they are more likely to be up to date with the latest bug fixes and security patches. Depending on your platform, use of the bundled versions may be enabled or disabled by default, check the Imake configuration files for your platform in xc/config/cf to find out. To override the defaults for your platform or to set the path to the installation location, see the instructions below on configuring the source via xorgsite.def and host.def.
X11R6.9 depends on the following external packages:
Package Name | Version | Included? |
expat | 1.95.8 | Yes |
fontconfig | 2.2 or newer | Yes |
FreeType | 2.1.8 or 2.1.9 | Yes |
libdrm | 2.0 | Yes |
libpng | 1.2.8 | No |
Mesa | 6.4.1 | Yes |
xterm | Patch 207 | Yes |
zlib | 1.1.4 or 1.2.3 | Yes |
You can find more information and/or the original sources for these packages at their project websites at these URL's:
Package Name | Website | |
expat | http://expat.sourceforge.net/ | |
fontconfig | http://www.fontconfig.org/ | |
FreeType | http://www.freetype.org/ | |
libdrm | http://dri.freedesktop.org/libdrm/ | |
libpng | http://www.libpng.com/pub/png/libpng.html | No |
Mesa | http://www.mesa3d.org/ | |
xterm | http://dickey.his.com/xterm/xterm.html | |
zlib | http://www.zlib.net/ |
$Id: BUILD.sgml,v 1.10 2005/12/21 00:45:27 alanc Exp $