distcc

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
eentelf
Linux User
Posts: 16
Joined: Sat Aug 30, 2003 7:30 pm

distcc

Post by eentelf »

is anyone else using distcc http://distcc.samba.org/ seems like a great way of speeping up compile time :-)
Last edited by eentelf on Sat Sep 13, 2003 9:35 pm, edited 1 time in total.
scoobydu
Linux Expert
Posts: 107
Joined: Mon Aug 11, 2003 6:08 pm

Post by scoobydu »

Yep 8)

It works a treat :lol:

cheers

scooby
eentelf
Linux User
Posts: 16
Joined: Sat Aug 30, 2003 7:30 pm

Post by eentelf »

just a quick question, its seems to all work great but i could only get distcc to run when i added

export CC="distcc"

did you have to do that as well?

thanks
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

Apparently youre NOT meant to run that export. *shrugs*
scoobydu
Linux Expert
Posts: 107
Joined: Mon Aug 11, 2003 6:08 pm

Post by scoobydu »

If I remember correctly the gentoo HOW-TO says to do it, but after reading some threads on gentoo's forums, I didn't.

So no, I don't do that...

cheers

scooby
eentelf
Linux User
Posts: 16
Joined: Sat Aug 30, 2003 7:30 pm

Post by eentelf »

yeah i'd followed the gentoo, howto, but it was missing info on the CC=distcc as if you didn't need to add it.

do you have the line CC="distcc" in you make.conf per chance??
scoobydu
Linux Expert
Posts: 107
Joined: Mon Aug 11, 2003 6:08 pm

Post by scoobydu »

nope...

just FEATURES="ccache distcc" in the make.conf

some hosts in /etc/hosts/distcc/hosts

and this is my /etc/conf.d/distccd file

>>>>>>>>
# Copyright 2003 Gentoo Technologies, Inc
# $Header: /home/cvsroot/gentoo-x86/sys-devel/distcc/files/2.10/conf,v 1.1 2003/08/12 16:30:38 lisa Exp $
# distccd configuration file

# this is the distccd executable
DISTCCD_EXEC=/usr/bin/distccd

# this is where distccd will store its pid file
DISTCCD_PIDFILE=/var/run/distccd/distccd.pid

# set this option to run distccd with extra parameters
# Default port is 3632. For most people the default is okay.
# DISTCCD_OPTS="--nice 20 --port 3632"
DISTCCD_OPTS="--log-file /var/log/distcc/distcc.log"

# This is the path that distccd and the monitors will look
# for the state files.
DISTCC_DIR="/tmp"
kernel_sanders
Novice
Posts: 24
Joined: Sun Aug 31, 2003 3:04 am
Location: Memphis, TN

quite a few

Post by kernel_sanders »

Quite a few packages won't use distcc, because it can lead to errors. KDE, kernel 2.4, and others just won't use it unless you're using Mosix sources. I think kernel 2.6_pre5 tried to use distcc when I compiled it on one of my boxes the other day...
scoobydu
Linux Expert
Posts: 107
Joined: Mon Aug 11, 2003 6:08 pm

Post by scoobydu »

True.

Although it works for the apps that I use :)

scooby
Post Reply