7 Rebuilding XFree86

Contents of this section

The server link kit allows you to build an X server using a minimum amount of disk space. Just unpack it, make the appropriate changes to site.def, type ``./mkmf' and ``make'' to link the server. See README.LinkKit for more info.

The source tree takes about 114Mb before compiling and an additional 100Mb after ``make World''. You should configure the distribution by editing xf86site.def and site.def in xc/config/cf before compiling. By default, the config files are set up to build shared libraries. If you are running a version of FreeBSD that doesn't include shared library support, add the following line to site.def:

 #define BuildBsdSharedLibs             NO

If your system doesn't have support or SYSV shared memory (for example, if you don't have the <sys/shm.h> header), you should disable the MIT-SHM extension by adding the following line to site.def:

 #define HasShm                         NO

To compile the sources on FreeBSD 1.1 and later, type:

 make World

If you are running an old version of FreeBSD (before 1.1), then type:

 make World BOOTSTRAPCFLAGS=-D__FreeBSD__

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter