[distcc] distcc problems (fwd)

Martin Pool mbp at sourcefrog.net
Thu Jul 8 03:00:13 GMT 2004


On 29 Mar 2004, Jiann-Ming Su <jsu2 at emory.edu> wrote:
> I'm running RH7.3 with the following:
> 
>   # distcc --version
>   distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
>     built Dec 26 2003 13:07:02
> 
>   # gcc --version
>   gcc (GCC) 3.3.3
>   Copyright (C) 2003 Free Software Foundation, Inc.
>   This is free software; see the source for copying conditions.  There is NO
>   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>   
> I was actually able to build gcc 3.3.3 successfully using distcc and the
> default RH compiler (gcc 2.96).  But, when I try to build other programs,
> specifically fluxbox and qt, I run into some errors.  Both instances,
> I execute the make as follows:
> 
>   make -j4 CC=distcc CXX=distcc
> 
> gcc 3.3.3 is housed on /opt/gnu.  The helper system nfs mounts /opt read-only.  
> If I simply do a "make", fluxbox and qt gets built correctly.
> 
> I passed "--verbose" to distcc, and I see errors on the console when trying
> to build qt:
> 
>   distcc[26444] (dcc_mkdir) ERROR: mkdir //.distcc failed: Permission denied
>   distcc[26444] (dcc_mkdir) ERROR: mkdir //.distcc failed: Permission denied

This is probably caused by having HOME=/.  You need to fix that or set
DISTCC_DIR to point to a writeable location.

-- 
Martin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040708/674b5fe1/attachment.bin


More information about the distcc mailing list