LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-21-2008, 08:46 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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.
 
Old 08-21-2008, 10:25 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
This is a duplicate of two other posts.

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

http://www.linuxquestions.org/questi...4/#post3255479
 
Old 08-21-2008, 10:28 PM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
echo echo echo...
 
Old 08-22-2008, 07:13 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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

Last edited by gbonvehi; 08-22-2008 at 07:18 AM.
 
Old 08-22-2008, 08:34 AM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
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.
 
Old 08-22-2008, 07:55 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
My apologies for the triplicate posts. For whatever reason the submit page would not update last night. 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.

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.
 
Old 08-22-2008, 08:17 PM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
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.
 
Old 08-22-2008, 09:39 PM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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.

But yes, a good idea. Done.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackbuilds.org should be a sticky ? DJ_Barney Slackware 15 04-01-2008 10:30 PM
gphoto2 on slackbuilds.org gibson79 Slackware 6 09-02-2007 09:21 AM
slackbuilds.org harkonen Slackware 16 08-22-2007 02:01 PM
Slackware 12, Opera, slackbuilds.org TL_CLD Slackware 6 08-15-2007 03:44 AM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration