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


--
[EMAIL PROTECTED] mailing list

Reply via email to