[distcc] Problem with distcc under Suse‏

Black Sirius black_sirius at hotmail.de
Mon Feb 6 09:46:38 MST 2012


@fergus

>At distcc.org the 
issues list has an issue for this which has a proposed patch attached 
(search the issues list for "python 2.7"). It needs testing. Please test
 the patch.


I have test your patch and it works fine! i also commented that issue.






>As Martin said, the --allow flag takes an inet address not a filename.

>The init script may have shell commands for converting a file to a sequence of --allow flags to use to invoke distccd.



year you're right. i have change it to my subnet and the daemon started.


@Martin: here is the error code i get from make:


"src/dotd.c: In function ‘dcc_get_dotd_info’:
src/dotd.c:173:9: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors"


and thats one of the line out of make:


"gcc
 -DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="\"/usr/local/etc\"" 
-DPKGDATADIR="\"/usr/local/share/distcc\"" -Isrc -I"./src" -I"./lzo" 
-I"./popt" -Werror -g -O2 -MD -W -Wall -Wimplicit -Wshadow 
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs 
-Wmissing-declarations -Wuninitialized -pthread -o src/dotd.o -c 
src/dotd.c"

>And i fixed it with: "make CFLAGS='-Wno-error=unused-but-set-variable'"


So, I have installed distcc successfully and wan't to make a compile test. but there is my next problem.


That's my configuration: 

Server x.x.177.81 "distccserver"

Client x.x.177.86 "linuxclient3"

The PCs are not similar and ping is ok



Server-config: /etc/distcc/hosts "linuxclient3"




I start the server with: "distccd --daemon --allow 'x.x.0.0/16'"

I set the DISTCC_VERBOSE=1

 


I start the server with: "distccd --daemon --allow 'x.x.0.0/16'"

I set the DISTCC_VERBOSE=1 




Client-config: same "localhost distccserver"
Set DISTCC_HOSTS="distccserver"

and start the make with: make -j8 CC=distcc (on server)
but i only receive this error-message: "distcc[2290] 
(dcc_build_somewhere) Warning: failed to distribute, running locally 
instead"


and i can't find the log file...

1. Are there steps i forgot or i have to do before I can make without errors ?
2. how can i look into the log file (install path not changed) 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/distcc/attachments/20120206/0fea1839/attachment.html>


More information about the distcc mailing list