LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-15-2012, 09:22 PM   #1
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 355

Rep: Reputation: 33
distcc package installation


Should the Slackware package set these links up during the install?

From the distcc docs:
Quote:
For instance, you could create the directory named /usr/lib/distcc/bin
and populate it with links.

# mkdir /usr/lib/distcc/bin
# cd /usr/lib/distcc/bin
# ln -s ../../../bin/distcc gcc
# ln -s ../../../bin/distcc cc
# ln -s ../../../bin/distcc g++
# ln -s ../../../bin/distcc c++

Do this for all compiler names that you use.

Then, to use distcc, a user just needs to put the directory
/usr/lib/distcc/bin early in the PATH and distcc will handle the rest.

export PATH=/usr/lib/distcc/bin:$PATH
I tried distcc for the first time, going both ways on a Debian Squeeze machine and a Slackware 13.1 machine.

The links were already made by Debian, but I couldn't find them on the machine Slack was installed. No big deal; I made suitable links. Thought Pat or the powers-that-be might want to consider adding the link creation to the install script.

I checked where I have 13.37 installed and didn't see them either. I haven't seen what -current is up to. (I wanted to cover all my bases before I posted.)

When I used distcc a few days ago, I would precede the make command with PATH=/usr/lib/distcc/bin:$PATH
I don't want to "permanently" change the path when distcc is something I don't anticipate on using regularly.
 
Old 03-15-2012, 10:26 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,753
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
The short answer is no. That is only one way to setup distcc (the phrase "For instance" is a dead give away). In fact, the preceding paragraph ends with the sentence, "Other options are discussed in the manual." For instance, in conjunction with ccache. How distcc is used should be up the user. My

Last edited by weibullguy; 03-15-2012 at 10:38 PM.
 
1 members found this post helpful.
Old 03-16-2012, 04:59 AM   #3
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 355

Original Poster
Rep: Reputation: 33
I'm satisfied with your two cents. Thanks!
 
  


Reply

Tags
distcc, gcc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Package needs re-installation, but package cannot be found woodbase Debian 4 09-26-2006 02:07 PM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 08:05 PM
FC3 installation freezes at package installation tmussche Fedora - Installation 1 04-19-2005 08:56 PM
slackware installation, or package installation?? mipia Slackware - Installation 1 12-15-2003 07:54 PM
Using distcc...? kleptophobiac Linux - Software 0 09-30-2003 10:32 AM


All times are GMT -5. The time now is 08:47 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration