Hi,I have been work with distcc whole night,but it could not work so far.
I use the distcc and cmake.


$distccd -j 2 --allow 192.168.10.0/24 --daemon --verbose --log-file ~/a
$ cat ~/a
distccd[18452] (main) chdir to /tmp
distccd[18452] (dcc_setup_daemon_path) daemon's PATH is 
/home/feng/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/lampp/bin/:/opt/lampp/sbin/
distccd[18452] (dcc_listen_by_addr) listening on 0.0.0.0:3632
distccd[18452] (dcc_defer_accept) TCP_DEFER_ACCEPT turned on
distccd[18452] (dcc_standalone_server) 2 CPUs online on this server
distccd[18452] (dcc_standalone_server) allowing up to 2 active jobs
distccd[18452] (dcc_ignore_sighup) ignoring SIGHUP
distccd[18453] (dcc_detach) setsid to session 18453
distccd[18453] (dcc_log_daemon_started) preforking daemon started (3.1 
i686-pc-linux-gnu, built May 16 2011 03:02:26)
distccd[18453] (dcc_create_kids) up to 1 children
distccd[18453] (dcc_create_kids) up to 2 children





This is the hosts
$ distcc --show-hosts
192.168.10.102
192.168.10.100





And I'm very sure that the network works fine and closedown the firewall


Here is the telnet result
Computer 192.168.10.102:
$ telnet 192.168.10.100 3632
Trying 192.168.10.100...
Connected to 192.168.10.100.
Escape character is '^]'.



Computer 192.168.10.100:
$ cat ~/log
distccd[18454] (dcc_check_client) connection from 192.168.10.102:33907
distccd[18454] (check_address_inet) match client 0x660aa8c0, value 0xaa8c0, 
mask 0xffffff







Here is the point:


when i use telnet
$ lsof -i:3632
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
distccd 18453 feng    4u  IPv4 368389      0t0  TCP *:distcc (LISTEN)
distccd 18454 feng    4u  IPv4 368389      0t0  TCP *:distcc (LISTEN)
distccd 18455 feng    4u  IPv4 368389      0t0  TCP *:distcc (LISTEN)
distccd 18455 feng    5u  IPv4 371581      0t0  TCP 
feng.local:distcc->ifeng.local:36491 (ESTABLISHED)



but when i use make -j8
$ lsof -i:3632
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
distccd 18453 feng    4u  IPv4 368389      0t0  TCP *:distcc (LISTEN)
distccd 18454 feng    4u  IPv4 368389      0t0  TCP *:distcc (LISTEN)
distccd 18455 feng    4u  IPv4 368389      0t0  TCP *:distcc (LISTEN)



What's wrong with it ??
Thank you!!!


BWT:It have some error when compiling under the ubuntu 11.04. I must use 
./configure --disable-Werror to avoid it.gcc4.5 using in 11.04.And the Python.h 
error in include_server/c_extensions/distcc_pump_c_extensions_module.c 


use
#include "python2.7/Python.h"
instead of
#include "Python.h"


Thanks again!
-- 
                                                       

DY.Feng
Department of Applied Mathematics
Guangzhou University,China
dyf...@stu.gzhu.edu.cn
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc

Reply via email to