The Xorg Server is the core of the X Window system.
Download (HTTP): http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-1.1.1.tar.bz2
Download (FTP): ftp://ftp.x.org/pub/individual/xserver/xorg-server-1.1.1.tar.bz2
Download MD5 sum: a8ed678677af8ebb2fba5624602f6b2e
Download size: 6.0 MB
Estimated disk space required: 424 MB
Estimated build time: 5.6 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7Server
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 vulnerability 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
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-02-10 11:42:00 -0600