LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-15-2012, 08:22 PM   #1
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Manjaro, Debian64 stable
Posts: 528

Rep: Reputation: 167Reputation: 167
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, 09:26 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Manjaro, Debian64 stable
Posts: 528

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


Reply

Tags
distcc, gcc



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

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

All times are GMT -5. The time now is 09:58 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