Building and installing the distribution

Building XFree86 from a Source Distribution : Building and installing the distribution
Previous: Using a shadow directory of symbolic links for the build
Next: Reconfiguring the server (source distribution)

## 4. Building and installing the distribution

Before building the distribution, read through the OS-specific `README` file in `xc/programs/Xserver/hw/xfree86/doc` that is relevant to you. Once those OS-specific details have been taken care of, go your build directory (either the `xc` directory or the shadow tree created before) and run ```make World`'' with the BOOTSTRAPCFLAGS set as described in the OS-specific README (if necessary, but most systems supported by XFree86 don't need BOOTSTRAPCFLAGS). It is advisable to redirect stdout and stderr to `World.Log` so that you can track down problems that might occur during the build.

With Bourne-like shells (Bash, the Korn shell, `zsh`, etc.) use a command like:

> `make World > World.log 2>&1`

Witch C-shell variants (`csh`, `tcsh`, etc), use:

> `make World >& World.log`

You can follow the progress of the build by running:

> `tail -f World.log`

in a terminal.

When the build is finished, you should check `World.Log` to see if there were any problems. If there weren't any then you can install the binaries. To do the install, run ```make install`'' and ```make install.man`''. Make sure you have enough space in `/usr/X11R6` for the install to succeed. If you want to install on a filesystem other than `/usr`, make a symbolic link to `/usr/X11R6` before installing.

Building XFree86 from a Source Distribution : Building and installing the distribution
Previous: Using a shadow directory of symbolic links for the build
Next: Reconfiguring the server (source distribution)