Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
intallation distcc problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nickrout
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 208
Location: New Zealand

PostPosted: Mon Jun 16, 2003 9:34 pm    Post subject: intallation distcc problems Reply with quote

I set up distcc, but cannot get it to work. I have set up on the
client machine the following entries in /etc/make.conf:

Quote:

DISTCC_HOSTS="192.168.2.3"

FEATURES="ccache distcc"

MAKEOPTS="-j3"


when I run an emerge I get lines like this:

Quote:

distcc[28081] (dcc_connect_by_addr) ERROR: failed to connect to
192.168.0.1:3632: Connection timed out

distcc[28081] (dcc_build_somewhere) Warning: failed to distribute,
running locally instead


Well I'm not surprised it cannot connect to 192.168.0.1, as there is no
such machine. I asked it to go to 192.168.2.3 but it doesn't.

it also tries to connect to 192.168.0.2, again unsuccessfully.

yes distccd is runing on 192.168.2.3

Quote:

sf root # ps ax|grep [d]istccd
15262 ? S 0:00 /usr/bin/distccd --pid-file /var/run/distccd/distccd.pid
15263 ? S 0:00 /usr/bin/distccd --pid-file /var/run/distccd/distccd.pid
15265 ? S 0:00 /usr/bin/distccd --pid-file /var/run/distccd/distccd.pid
15266 ? S 0:00 /usr/bin/distccd --pid-file /var/run/distccd/distccd.pid


any ideas?
Back to top
View user's profile Send private message
annex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2002
Posts: 102

PostPosted: Mon Jun 16, 2003 10:59 pm    Post subject: Reply with quote

Perhaps put DISTCC_HOSTS after features, or echo DISTCC_HOSTS and test to see if it is infact the value you think it is.

I had a couple of problems getting distcc working as well but it's definately worth it in time saved during comilation. Plus it just feels cool to think it's being so effecient :wink:

You'll get it working
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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