View previous topic :: View next topic |
Author |
Message |
nickrout Apprentice
Joined: 06 Oct 2002 Posts: 208 Location: New Zealand
|
Posted: Mon Jun 16, 2003 9:34 pm Post subject: intallation distcc problems |
|
|
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 |
|
|
annex Tux's lil' helper
Joined: 04 Dec 2002 Posts: 102
|
Posted: Mon Jun 16, 2003 10:59 pm Post subject: |
|
|
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
You'll get it working |
|
Back to top |
|
|
|