public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] distcc
@ 2003-02-08 11:46 MAL
  2003-02-08 15:59 ` Eric Andresen
  2003-02-09 11:21 ` Nick Jones
  0 siblings, 2 replies; 7+ messages in thread
From: MAL @ 2003-02-08 11:46 UTC (permalink / raw
  To: gentoo-user, gentoo-dev

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-02-10 20:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-08 11:46 [gentoo-dev] distcc MAL
2003-02-08 15:59 ` Eric Andresen
2003-02-09 11:21 ` Nick Jones
2003-02-09 19:11   ` MAL
2003-02-09 20:38     ` Jon Nall
2003-02-09 21:01     ` [gentoo-dev] Re: [gentoo-user] " Martin Schlemmer
2003-02-10 20:04       ` nealbirch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox