pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkgsrc and distcc
Hi,
I want to setup distcc to compile packages and it seems to work. But I think
not in "pump" mode...
If I compile a package, I get messages like this:
--------
distcc[29977] Warning: INCLUDE_SERVER_PORT not set - did you forget to run
under 'pump'?
distcc[29977] (dcc_build_somewhere) Warning: failed to get includes from
include server, preprocessing locally
--------
My setup is like this:
1 workstation x86_64 running NetBSD 5_STABLE dom0 and 3 NetBSD 5.0.1 domU
hostsnames/IP:
beowulf/192.168.178.120
netbsd0/192.168.178.200
netbsd1/192.168.178.201
netbsd2/192.168.178.202
1 x86_64 Laptop which is the machine where I try to compile the packages.
hostname/IP:
nippi/192.168.178.250
I can ping the hosts by using their hostnames...
On all machines I installed from pkgsrc2009Q3:
pkgsrc/devel/distcc
pkgsrc/devel/distcc-pump
pkgsrc/devel/ccache
Than, I copied /usr/pkg/share/examples/rc.d/distcc to /etc/rc.d and edited the
following line (that is beowulf, others have their own IP to listen):
command_args="--daemon --allow 192.168.178.0/24 --listen 192.168.178.120 \
--pid-file ${pidfile}"
On the laptop I edit /etc/mk.conf like this:
PKGSRC_COMPILER=ccache distcc gcc
DISTCC_HOSTS=--randomize beowulf/6,cpp,lzo netbsd0/2,cpp,lzo \
netbsd1/2,cpp,lzo netbsd2/2,cpp,lzo localhost
BUILD_MAKE_FLAGS=-j12
What is wrong here?
Greetings,
Helge
Home |
Main Index |
Thread Index |
Old Index