The following software is required on your system. I believe that all of it is part of recent GNU/Linux distributions.
GNU C++ 3.0 or above
X11R6.1 or above
libpng
pkg-config
This should be already installed on recent GNU/Linux systems. If not, visit the pkg-config page at www.freedesktop.org.
In case you've installed some software in /usr/local, placing the following line in you /etc/profile is also a good idea:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
fontconfig
Check that you'll have a recent version of fontconfig (2.2.0 or above) installed on your system, which is required to select X11 fonts via fontconfig and not just the Xrender/freetype fonts. It is available from the fontconfig page at www.freedesktop.org.
Be aware that XFree86 already comes with a version of fontconfig so you should either install fontconfig in /usr/X11R6 or move the fontconfig files in /usr/X11R6 away after installation.
Xrender and X FreeType (optional)
libjpeg (optional)
Jean-Marc Lienher's libXutf8 from http://oksid.ch/ (optional and not used yet)