Hi All! Hi Fergus! Really need to use distcc in my environment but after installing/configuring distcc from packages either on Debian Squeeze or Ubuntu Natty following error message appeared while trying to compile my staff:
------------------------------------------------------------------------------------------- ... g++ -o src/lib/Connection.o -c -g -Wall -pthread -Iinclude -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include src/lib/Connection.cxx distcc[8257] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory distcc[8257] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory distcc[8257] (dcc_zeroconf_add_hosts) CRITICAL! failed to get zeroconf dir. distcc[8257] (dcc_build_somewhere) Warning: failed to distribute, running locally instead distcc[8257] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory distcc[8257] (dcc_lock_one) ERROR: failed to lock distcc[8257] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory ... ------------------------------------------------------------------------------------------- It looks really strange, cause HOME environment variable is set correctly and no zeroconf requested on distcc launch. distcc version is: ------------------------------------------------------------------------------------------- illy@devel:~/$ distcc --version distcc 3.1 x86_64-pc-linux-gnu (protocols 1, 2 and 3) (default port 3632) built Dec 6 2010 05:19:08 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 distcc@lists.samba.org ------------------------------------------------------------------------------------------- distcc environment is: ------------------------------------------------------------------------------------------- illy@devel:~/$ set | grep DISTCC DISTCC_DIR=/home/illy/.distcc DISTCC_HOSTS=localhost ------------------------------------------------------------------------------------------- I've checked out 'int dcc_get_top_dir(char **path_ret)' method from 'src/tempfile.c' file of distcc 3.1 source code - it looks reasonable. Would you like to give me a small advise how to make it work correctly? Sorry if it is not problem of distcc but Linux distribution itself. Thank you! -- Ilya V. Storozhilov __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc