Before building the distribution, read through the OS-specific
xc/programs/Xserver/hw/xfree86/doc that is relevant to
you. Once you have addressed the OS-specific details, go your
xc directory or the shadow tree created before) and
make World" with the BOOTSTRAPCFLAGS
set as described in the OS-specific README (if necessary, but most
systems supported by X11R6.8.2 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:
Witch C-shell variants (
make World > World.log 2>&1
tcsh, etc), use:
You can follow the progress of the build by running:
make World >& World.log
in a terminal.
tail -f World.log
When the build is finished, you should check the
World.Log file to
see if there were any problems. If there weren't any then you can
install the binaries. By default the "make World" process will exit
at the first error.
To restart the build process after correcting the problems, just
run 'make'. If Imakefiles or part of the build configuration was
changed as part of correcting the problem, either re-run "make World",
or run "make Everything".
If you would prefer "make World" to ignore errors and build as much as possible, run it in the following way instead of the way described above:
for Bourne-like shells:
for C-shell variants:
make WORLDOPTS=-k World > World.log 2>&1
make WORLDOPTS=-k World >& World.log
To do the install, run "
make install" and "
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
To install the tree into a different directory than
you can specify
make install DESTDIR=<install_target_dir> make install.man DESTDIR=<install_target_dir>
Cross compiling is supported if the appropriate config files for your
target platforms exist. You must have the compiler toolchain installed
for your target platform and the C-compiler must know where those tools
exist. To inform the build system where your cross compiler is located use
BOOTSTRAPCFLAGS to set the make variable
make World BOOTSTRAPCFLAGS="CROSSCOMPILEDIR=<cross compiler dir>";