From AuroraUX

Jump to: navigation, search

Build Environment

mkdir X_Build_Env ; cd X_Build_Env
export XORG_PREFIX=/usr/X11
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
    --mandir=$XORG_PREFIX/share/man --localstatedir=/var"

Packages in Xorg store their configuration files in $XORG_PREFIX/lib/X11 by default
Thus we must create the proper installation directories in /etc/X11  and create 
symlinks in $XORG_PREFIX/lib/X11 as follows:

install -v -m755 -d \
    /etc/X11/{app-defaults,fs,twm,xdm,xinit,xkb,xsm} &&

install -v -m755 -d $XORG_PREFIX/lib/X11 &&

for link in \
    /etc/X11/{app-defaults,fs,twm,xdm,xinit,xkb,xsm}
do
    ln -sv $link $XORG_PREFIX/lib/X11
done
[]