Background
Installed TightVNC server 1.3.9 on a new 64 bit Debian with KDE but did not work as expected so try to build version 1.3.10 and have encounted a number of issues. I did not finish the build because out of time.
xmkmfL command not found
Firstly Because it is a new machine so xmkmf is not installed (by default) hence got this error
"xmkmf: command not found" .
Issue resolved by install xutils-dev package
apt-get install xutils-dev
Missing header files
Error
vncviewer.h:33:28: fatal error: X11/IntrinsicP.h: No such file or directory
Install the following package
apt-get install libxt-dev
Error
vncviewer.h:39:28: fatal error: X11/Xmu/StdSel.h: No such file or directory
Install the following package
apt-get install libx11-dev apt-get install libxmu-dev
Error
desktop.c:25:30: fatal error: X11/Xaw/Viewport.h: No such file or directory
Install the following package
apt-get install libxaw7-dev
Error
rfbproto.c:32:21: fatal error: jpeglib.h: No such file or directory
Install the following package
apt-get install libjpeg62-turbo-dev