Building and installing the distribution

Building XFree86 : Building XFree86 From a Source Distribution : Building and installing the distribution
Previous: Configuring the source before building
Next: Reconfiguring the server (source distribution)

## 1.3. 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 the `xc` directory and run ```make World`'' with the BOOTSTRAPCFLAGS set as described in the OS-specific README (if necessary). It is advisable to redirect stdout and stderr to `World.Log` so that you can track down problems that might occur during the build.

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. When using the full source distribution, the installation should be done from the `xc` directory. When using the ``servers only'' distribution, the install should be done from the `xc/programs/Xserver` directory. 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.

To install the binary LinkKit (in `/usr/X11R6/lib/Server`), run ```make install.linkkit`'' from the `xc` directory.

To build the subset of the contrib release supported by XFree86, make sure that you have first built and installed the core distribution. Then go to the `contrib` directory and run ```xmkmf -a; make`''. When that is completed, run ```make install`'' and ```make install.man`'' to install it.

To build/run the xtest distribution, refer to the instructions in the file `test/xsuite/NOTES.xf86`.

Building XFree86 : Building XFree86 From a Source Distribution : Building and installing the distribution
Previous: Configuring the source before building
Next: Reconfiguring the server (source distribution)