<div class="gmail_quote">On Mon, Feb 6, 2012 at 11:46 AM, Black Sirius <span dir="ltr"><<a href="mailto:black_sirius@hotmail.de">black_sirius@hotmail.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">
@fergus<br>
>At <a href="http://distcc.org" target="_blank">distcc.org</a> 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.<br><br><br>I have test your patch and it works fine! i also commented that issue.<br></div></div></blockquote><div><br></div><div>Thanks.  I submitted the fix.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div dir="ltr">>As Martin said, the --allow flag takes an inet address not a filename.<br>
>The init script may have shell commands for converting a file to a sequence of --allow flags to use to invoke distccd.<br>
<br><br>year you're right. i have change it to my subnet and the daemon started.<br><br><br>@Martin: here is the error code i get from make:<br><br><br>"src/dotd.c: In function ‘dcc_get_dotd_info’:<br>src/dotd.c:173:9: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]<br>

cc1: all warnings being treated as errors"<br></div></div></blockquote><div><br></div><div>I've submitted a fix for that one too.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div dir="ltr">So, I have installed distcc successfully and wan't to make a compile test. but there is my next problem.<br><br><br>That's my configuration: <br><br>Server x.x.177.81 "distccserver"<br>

<br>Client x.x.177.86 "linuxclient3"<br><br>The PCs are not similar and ping is ok<br><br><br><br>Server-config: /etc/distcc/hosts "linuxclient3"<br><br>
<br>
I start the server with: "distccd --daemon --allow 'x.x.0.0/16'"<br>
I set the DISTCC_VERBOSE=1<br><br> <br><br>
I start the server with: "distccd --daemon --allow 'x.x.0.0/16'"<br>
I set the DISTCC_VERBOSE=1 <br><br><br><br><br>Client-config: same "localhost distccserver"<br>Set DISTCC_HOSTS="distccserver"<br><br>and start the make with: make -j8 CC=distcc (on server)<br>but i only receive this error-message: "distcc[2290] 
(dcc_build_somewhere) Warning: failed to distribute, running locally 
instead"<br></div></div></blockquote><div><br></div><div>That's not an _error_ message, that's a _warning_.</div><div><br></div><div>It is probably preceded by another message from distcc explaining why.</div>

<div><br></div><div>It is quite likely that you will get this warning for the final link command -- distcc won't distributed link commands.</div><div>But if distcc is distributing the compile commands that precede the final link command, everything may be working fine.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">and i can't find the log file...<br>
1. Are there steps i forgot or i have to do before I can make without errors ?<br>2. how can i look into the log file (install path not changed)</div></div></blockquote><div><br></div><div>I'd start with looking at the full output from make, which should include messages from the distcc client.</div>

<div><br></div><div>The distccd daemon log messages by default go to syslog, which in turn will typically save them in one of /var/log/syslog, or /var/log/messages, or maybe /var/log/distccd.log.  You can use the --log_file <filename> option to distccd to save the logs to a particular file.</div>

<div><br></div></div>-- <br><div>Fergus Henderson <<a href="mailto:fergus@google.com" target="_blank">fergus@google.com</a>></div><div><br></div><div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">"Defend the user, exclude no one, and create magic." -- Eric Schmidt.</span></div>

</div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br></span></div><br>