These instruction were done on ArchLinux 2018.06.05, your milage may vary.
xorg
xorg-server-devel
gcc
dnsutils
git
libxinerama
libxss
ncurses
openmotif
rpcbind
xbitmaps
bison
flex
git clone https://aur.archlinux.org/ksh.git
git clone https://aur.archlinux.org/ncompress.git
The system does not symlink /usr/bin/cpp to /lib/cpp anymore which breaks the CDE compile.
ln -s /usr/bin/cpp /lib/cpp
You must make this symlink before you compile.
See the Compiling section on [LinuxBuild], for these steps.