[distcc] Problems with distcc

Martin Pool mbp at samba.org
Tue Aug 5 04:53:07 GMT 2003


On  4 Aug 2003, Anton <ai at ugcs.caltech.edu> wrote:
> I am trying to compile XFree86 (XDirectFB actually) with distcc.  I am
> running Debian woody stable on i386.  I built distcc from source on my
> machine, as well as on the remote hosts (which are the same version of
> Debian).  I have 8 hosts in my ~/.distcc/hosts file.  The make command
> line is: "make -j16 CC=distcc World".  I have two issues:
> 
> 1. distcc uses only the first host from the hosts file.  Sample output of
> distccmon-text:
>  13275  Compile     XEConTxt.c                                     localhost
> Besides localhost, other hosts are accessed with ssh.  Here is a sample
> speck:
> @hostname.net:/path/to/distcc/bin/distccd,lzo
> If I remove localhost from the first position in the hosts file, distcc is
> able to use the first remove hosts without problems.  I tried both space
> and newline as separators in the file.

Do you see any distcc error messages?

Have a look at the output of 'ps'.  Is Make actually running more than
one job?  

Does this version of XFree86 actually allow parallel builds?  Have a
look in the Makefile for messages about it, or '.NOTPARALLEL'
settings.

> 2.  make runs C++ jobs with 'c++' command that distcc does not pick up.
> What do I need to do to make C++ jobs fall under distcc?

Set up a masquerade directory as described in the manual.

-- 
Martin 



More information about the distcc mailing list