From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20909 invoked by uid 1002); 8 Feb 2003 11:54:15 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 3049 invoked from network); 8 Feb 2003 11:54:15 -0000 Message-ID: <3E44EDF9.5090208@komcept.com> Date: Sat, 08 Feb 2003 11:46:01 +0000 From: MAL Organization: Komcept Solutions Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030120 X-Accept-Language: en MIME-Version: 1.0 To: gentoo-user@gentoo.org, gentoo-dev@gentoo.org X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] distcc X-Archives-Salt: 4ce92497-669a-4a10-a919-524babc571c3 X-Archives-Hash: 883f520b12992e754c9e212d19f8f06b This is a solved problem, but I thought i'd share it with you. On my machine at least, distccd, (which was running as nobody), wasn't getting the path to gcc, (as provided by sourcing /etc/profile.env). This was resulting in remote compiles failing with: 'gcc: command not found'. This happens because distcc isn't being run in a login shell by start-stop-daemon, and so /etc/profule isn't sourced, (as it is when you login). On a side note, suing to root, didn't give me gcc either... I had to add '. /etc/profile' to my root's .bashrc. Anyway, to fix this I simply added '. /etc/profile' to /etc/init.d/distccd, just before it starts distccd. These dynamically pathed gcc's have caused me so many problems :/ MAL -- gentoo-dev@gentoo.org mailing list