LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't Compile SlackBuilds.org TightVNC (http://www.linuxquestions.org/questions/slackware-14/cant-compile-slackbuilds-org-tightvnc-664472/)

Woodsman 08-21-2008 09:46 PM

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.

stress_junkie 08-21-2008 11:25 PM

This is a duplicate of two other posts.

http://www.linuxquestions.org/questi...3/#post3255480

http://www.linuxquestions.org/questi...4/#post3255479

masonm 08-21-2008 11:28 PM

echo echo echo...

gbonvehi 08-22-2008 08:13 AM

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

shadowsnipes 08-22-2008 09:34 AM

Sounds like you are missing something from a stock Slackware 12.1 install.

as previously mentioned:
Code:

$> grep host.def /var/log/packages/*
/var/log/packages/lesstif-0.95.0-i486-2:usr/lib/X11/config/host.def

I have never had any problems building TightVNC in the past.

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.

Woodsman 08-22-2008 08:55 PM

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:

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
Okay, my goof --- I plumb forgot about the Package Browser site. Bookmarked!

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:

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.
You're probably correct. Bad hair day yesterday I guess. So I think I'll go to my room and think about things for a while!

Thanks for the help everybody.

shadowsnipes 08-22-2008 09:17 PM

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.

Woodsman 08-22-2008 10:39 PM

Quote:

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.
Well, I'm still in my room thinking about my bad day. :D

But yes, a good idea. Done.


All times are GMT -5. The time now is 02:34 PM.