The server link kit allow you to rebuild just the X server with a
minimum amount of disk space. Just unpack it, make the appropriate
changes to the site.def
, type ``./mkmf
'' and
``make
'' to link the server. See /usr/X11R6/lib/Server/README
for more info.
See INSTALL for instructions on unbundling and building the source distribution.
You should configure the distribution by editing
xc/config/cf/xf86site.def
before compiling. To compile the
sources, invoke ``make World
'' in the xc directory.
XFree86 3.1.0C has now a configuration option to select the console
drivers to use in xf86site.def
:
#define XFree86ConsoleDefines -DPCCONS_SUPPORT
#define XFree86ConsoleDefines -DPCVT_SUPPORT
#define XFree86ConsoleDefines -DSYSCONS_SUPPORT
#define XFree86ConsoleDefines -DCODRV_SUPPORT
xf86site.def
the
pccons, pcvt and syscons drivers will be supported.
If you want to build a server supporting syscons or codrv and you
don't already have the corresponding header files console.h
and
ioctl_pc.h
installed in /usr/include/machine
, then
install the copies that are supplied in
xc/programs/Xserver/hw/xfree86/etc
.
If you run NetBSD-current you probably want to install
them in /usr/src/sys/arch/i386/include
too, so that they get
reinstalled each time you make install in /usr/src/include
.
Another way to keep these files accessible is to make a symbolic link
like this in the xc
directory (suggested by Andrew Cagney
cagney@highland.com.au):
ln -s programs/Xserver/hw/xfree86/etc machine
If you have installed the syscons or codrv console drivers, these files should be taken from your installed version of the driver.
By default XFree86 3.1.1 builds for NetBSD 1.0 with shared libraries
support. If you're building on 0.9 or don't want shared libraries
add the following line to xf86site.def
:
#define BuildBsdSharedLibs NO
XFree86 3.1.1 now also compiles on NetBSD/sparc. The Sun server
patches from Dennis Ferguson and Matthew Green have been integrated in
xc/programs/Xserver/hw/sun
. Small
modifications to xf86site.def
are needed:
NetBSD.cf
.)Problems with this port should be reported to the port-sparc@NetBSD.Org mailing list or directly to me matthieu@laas.fr rather than to the xfree86 mailing list.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter