Re: =?windows-1256?q?Problem_with_distcc_under_Suse=FE?=
Black Sirius <[email protected]> Mon, 6 Feb 2012 17:46:38 +0100
| Newsgroups | gmane.comp.compilers.distcc |
|---|---|
| Message-ID | <[email protected]> |
@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) __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc