It's a good security practice to have your /tmp directory set 'noexec' as many remote exploits on web servers will try to run files there. vnc tries to make an executable file and run it in /tmp (no, not /var/tmp) during the installation process. To easily reproduce this on gentoo, mount -o remount,noexec,rw /dev/shm symlink /tmp to /dev/shm (or just mount it at /tmp noexec if you haven't already) and emerge vnc
Could you post a log with the buildprocess failing? My setup doesnt allow for an easy setup for a noexec /tmp.
Copied the fix from tightvnc. Try it now.
Excellent, it works great now. Thanks!