I'm sorry that the title is not really telling much, but so far, I can't be more specific...
I have two Ubuntu 14.04 computers in a network (server (who should do the compiling is at 10.8.1.52
) and the client is at 10.8.1.42
. I installed distcc
via sudo apt-get install distcc
and use this config file on the server:
> cat /etc/default/distcc
STARTDISTCC="true"
ALLOWEDNETS="127.0.0.1 10.8.1.0/24"
LISTENER="10.8.1.52"
NICE="10"
JOBS=""
ZEROCONF="false"
And distccd
also is listening:
> sudo netstat -taupen | grep distcc
tcp 0 0 10.8.1.52:3632 0.0.0.0:* LISTEN 122 24182229 32372/distccd
On the client, I set the DISTCC_HOSTS:
> echo $DISTCC_HOSTS
10.8.1.52
I know then want to start a compile process on the client (10.8.1.42
):
make -j100 CC=distcc
This compiles my code, but only on the client and no work is distributed (although I compile about a dozen .cpp files).
Could someone give me a hint?