DistCC显然未能连接到主机。CRITICAL!无法获得主机列表
$ distcc --show-hosts
distcc[32060] (dcc_parse_hosts) Warning: /home/amacdonald/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[32060] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.
distcc[32060] (dcc_show_hosts) CRITICAL! Failed to get host list
我的默认配置是
$ cat /etc/default/distcc | grep -v "\#\|^$"
STARTDISTCC="true"
ALLOWEDNETS="127.0.0.1"
LISTENER="127.0.0.1"
NICE="10"
JOBS=""
ZEROCONF="true"
我想ZeroConf的不需要我配置的主机,但抱怨我没有。如果我尝试将主机名写入/home/amacdonald/.distcc/zeroconf/hosts
distcc实际上最终会删除这些行。
另外,我上的系统,
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
$ dpkg -l | grep distcc
ii distcc 3.1-6 amd64 simple distributed compiler client and server
$ distcc --version
distcc 3.1 x86_64-pc-linux-gnu
(protocols 1, 2 and 3) (default port 3632)
built May 9 2013 23:15:01
Copyright (C) 2002, 2003, 2004 by Martin Pool.
Includes miniLZO (C) 1996-2002 by Markus Franz Xaver Johannes Oberhumer.
Portions Copyright (C) 2007-2008 Google.
distcc comes with ABSOLUTELY NO WARRANTY. distcc is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Built with Zeroconf support.
Please report bugs to [email protected]
我会检查子网。我可以发誓我改变了它 –