Can't Compile SlackBuilds.org TightVNC
I'm trying to compile TightVNC 1.3.9 from slackbuilds.org.
First problem: I always modify the build script to change the location of $TMP because my /tmp directory is mounted noexec. I never have had an issue with this. However, the TightVNC script fails at /usr/bin/xmkmf || exit 1. The error message implied trying to create a makefile from within /tmp.
Modifying the build script to /usr/bin/xmkmf -a || exit 1 had no effect. Therefore I temporarily remounted /tmp to remove the noexec option.
Second problem: I got a little further in the script but again the script failed for not finding hosts.def:
/usr/lib/X11/config/site.def:44: error: host.def: No such file or directory
There is no host.def file on my system in /usr/include.
1. How do I build the package using my preferred $TMP location?
2. Is /usr/include/host.def supposed to be on my Slackware 12.1 system? If yes, then from which package?