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? Thanks. |
This is a duplicate of two other posts.
http://www.linuxquestions.org/questi...3/#post3255480 http://www.linuxquestions.org/questi...4/#post3255479 |
echo echo echo...
|
1. It's weird you should try debugging the script, or doing those steps manually
2. A quick search ( http://packages.slackware.it/search....t=2&q=host.def ) reveals the package that contains the file: lesstif-0.95.0-i486-2 in slackware/l |
Sounds like you are missing something from a stock Slackware 12.1 install.
as previously mentioned: Code:
$> grep host.def /var/log/packages/* Also, while it is fine and dandy to have a LQ thread about problems with SlackBuilds.org scripts, you really should post these questions to the maintainer of the script (listed in the .info file) and to the SBo mailing list. |
My apologies for the triplicate posts. :( For whatever reason the submit page would not update last night. :scratch: Apparently I unknowingly submitted the post three times!
Quote:
I had removed the lesstif package from my system. Never used the package and I removed. Why tightvnc needs lesstif is beyond me. :scratch: I reinstalled the lesstif package. However, the tightvnc build script still refused to compile unless I temporarily granted exec permissions to /tmp. I prefer to run my build scripts in a sandbox build area that uses a different tmp directory. The tightvnc package seems to have built okay. I wonder whether I have to keep lesstif installed. Quote:
Thanks for the help everybody. |
If you haven't already done so, email the maintainer (and/or mailing list) about the perms problem with /tmp. That is definitely something SBo users should know about.
|
Quote:
But yes, a good idea. Done. |
All times are GMT -5. The time now is 03:01 PM. |