Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-15-2012, 08:22 PM   #1
Andy Alt
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian32 stable, LFS 7.1
Posts: 385

Rep: Reputation: 44
distcc package installation

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

From the distcc docs:
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, 09:26 PM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
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 09:38 PM.
1 members found this post helpful.
Old 03-16-2012, 03:59 AM   #3
Andy Alt
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian32 stable, LFS 7.1
Posts: 385

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


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 01:07 PM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
FC3 installation freezes at package installation tmussche Fedora - Installation 1 04-19-2005 07:56 PM
slackware installation, or package installation?? mipia Slackware - Installation 1 12-15-2003 06:54 PM
Using distcc...? kleptophobiac Linux - Software 0 09-30-2003 09:32 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:28 AM.

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