Xorg-Server-1.1.1

Introduction to Xorg-Server

The Xorg Server is the core of the X Window system.

Package Information

Additional Downloads

Xorg Server Dependencies

Required

Xorg Fonts

Optional

MesaLib-6.5 and luit-1.0.2

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7Server

Installation of Xorg Server

[Note]

Note

If you intend to build with Mesa, you must have the Mesa source directory available when building the Xorg-server.

A security vulnerability have been identified in the xorg-server package. Apply a patch to fix this vulnerabily with the following command:

patch -Np1 -i ../xorg-server-1.1.1-security-1.patch

Install the server by running the following commands:

sed -i \
    's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' \
    GL/glx/Makefile.in &&
sed -i \
    's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' \
    GL/glx/Makefile.in &&
./configure $XORG_CONFIG \
    --with-mesa-source='</path/to>/Mesa-6.5' \
    --with-fontdir=$XORG_PREFIX/lib/X11/fonts \
    --with-module-dir=$XORG_PREFIX/lib/X11/modules \
    --with-dri-driver-path=$XORG_PREFIX/lib/X11/modules/dri \
    --enable-install-setuid &&
make

This package does not come with a test suite.

Now as the root user:

make install

Command Explanations

sed -i '...' GL/glx/Makefile.in: These commands correct the search path for the Mesa headers. The 8th and 7th instance of '-I$(top_builddir)' in the existing search search path are replaced with Mesa paths.

--with-mesa-source=...: This switch directs the build system to the location of the Mesa source directory. If you wish to build without Mesa, omit this switch.

--with-module-dir=...: This parameter sets the destination for the installed modules.

--with-dri-driver-path=...: This is the location of the Mesa DRI drivers.

--enable-install-setuid: The Xorg binary must run as the root user. This switch ensures that the binary is installed setuid when make is run by an unprivileged user.

--disable-glx: Disable building of the GLX extension. This parameter is required if building without Mesa.

--disable-dri: Disable building of the DRI extension. This parameter is required if building without Mesa.

--disable-xprint: Disable building of the Xprint extension and server. This parameter is required if building without Mesa.

Last updated on 2007-01-23 13:00:33 -0600