Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distcc - it works (quick but dirty...)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1598
Location: U.S.A.

PostPosted: Sat Mar 15, 2003 11:01 pm    Post subject: Reply with quote

Ya, I haven't had any problems lately with distcc and no CC or CXX in the make.conf file. Works fine. Everyonce in a while something like libxml won't compile with it, but that is all.

Code:
# Distcc
FEATURES="distcc"
DISTCC_HOSTS="localhost Compaq"
DISTCC_VERBOSE=1
MAKEOPTS="-j4"
##  http://gentoo.superlucidity.net/www/distcc.html said don't do below.
## CC="distcc"
## CXX="distcc g++"
Back to top
View user's profile Send private message
hackerError
Guru
Guru


Joined: 14 Mar 2003
Posts: 341
Location: Reston, VA, USA

PostPosted: Sun Jun 08, 2003 4:49 pm    Post subject: hmm Reply with quote

mine works with just adding this to make.conf
Code:

DISTCC_HOSTS="localhost jeremy2"
FEATURES="distcc"

PORTAGE_NICENESS=20
#portage niceness makes portage be nice, so i can play unreal and #emerge openoffice at the same time ;)


however, i thought i read that you shouldnt set your CFLAGS to distcc... it seems you guys are doing this for some reason[/code]
Back to top
View user's profile Send private message
pele_smk
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 94
Location: Phoenix, AZ

PostPosted: Thu Sep 29, 2005 2:25 am    Post subject: Reply with quote

Sorry to beat a dead horse, but I'm following the ooooo sooo simple directions on the gentoo docs:

emerge distcc
# nano -w /etc/make.conf
(Set N to a suitable number for your particular setup)
(A common strategy is setting N as twice the number of total CPUs + 1
available)
MAKEOPTS="-jN"
(Add distcc to your FEATURES)
FEATURES="distcc"

and then:
/usr/bin/distcc-config --set-hosts "192.168.0.1 192.168.0.2 192.168.0.3"
I only have one host: my desktop which is 192.168.1.105 so I put tha tin there and take out the rest

on both machines I have distcc emerged, I put the --allow 192.168.0.0/24 in the opts just to try and let every ip in...I'll change that after I get it working.

Could someone explain what the --listen means?

I've done the simple only trying to use distcc to build kernel modules and I've tried merging complete packages....Both give me the "could not distribute, compiling locally" error. When I built my kernel modules, I got the error: "connection refused by peer" I thought that was a good sign, but didn't point me in the right direction:


Thins I know...
Both machines are using distcc version 2.18
I'm using my desktop amd64 to build for my laptop x86. I use the -m32 flag.

The respectable spots in my make.conf:
MAKEOPTS="-j2"
FEATURES="distcc"
_________________
AMD64 3000+
Chaintech ZNF3-150
Chaintech ti4200 SE
WD 120gb && Maxtor 250gb && Maxtor 250gb,
Lite-On DVD+-RW
Coolermaster ATC-210
Thermalright slk & Tornado 92mm
It's still hot......
Back to top
View user's profile Send private message
Kuhndog86
Apprentice
Apprentice


Joined: 20 Jul 2004
Posts: 271
Location: Central WI

PostPosted: Tue Nov 22, 2005 6:40 pm    Post subject: Reply with quote

pele_smk wrote:

Thins I know...
Both machines are using distcc version 2.18
I'm using my desktop amd64 to build for my laptop x86. I use the -m32 flag.

The respectable spots in my make.conf:
MAKEOPTS="-j2"
FEATURES="distcc"


From what I have read, if you want an amd64 machine to use distcc with an x86 machine, you need to run distcc in a 32-bit chroot environment on the amd64 box in order for it to work.

see: https://forums.gentoo.org/viewtopic-t-404413-highlight-distcc+amd64+x86.html
_________________
"Don't you think that if Microsoft actually had some really foolproof patent, they'd just tell us and go, 'nyaah, nyaah, nyaah!'" -Linux Torvalds
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum