public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] distcc
@ 2002-10-12 22:58 Wout Mertens
  2002-10-13  3:28 ` Evan Read
  0 siblings, 1 reply; 10+ messages in thread
From: Wout Mertens @ 2002-10-12 22:58 UTC (permalink / raw
  To: gentoo-dev

Check this out:

http://distcc.samba.org/

This allows you to distribute compilations across multiple systems. The
only thing you need on the other side is distcc (and gcc), no shared
filesystems or anything.

I must admit that I didn't try it out yet, just mentioning the news :)
I guess it must work if you put the necessary environment variables in
make.conf and put distcc in the path like you do with ccache.

Wout.



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

* Re: [gentoo-dev] distcc
  2002-10-12 22:58 [gentoo-dev] distcc Wout Mertens
@ 2002-10-13  3:28 ` Evan Read
  0 siblings, 0 replies; 10+ messages in thread
From: Evan Read @ 2002-10-13  3:28 UTC (permalink / raw
  To: Wout Mertens; +Cc: gentoo-dev

On Sun, 2002-10-13 at 08:58, Wout Mertens wrote:
> Check this out:
> 
> http://distcc.samba.org/
> 
> This allows you to distribute compilations across multiple systems. The
> only thing you need on the other side is distcc (and gcc), no shared
> filesystems or anything.
> 
> I must admit that I didn't try it out yet, just mentioning the news :)
> I guess it must work if you put the necessary environment variables in
> make.conf and put distcc in the path like you do with ccache.
> 
> Wout.

Hey,

Not sure if it was on this forum or another, but some people have had
bad experience with it. If you try it out (I haven't either), search the
net thoroughly.

Just FYI.

Evan.
 
-- 
http://eread.freeshell.org/
"The future comes 60 minutes an hour no matter who you are or what you
do."
        The Screwtape Letters - C.S. Lewis



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

* [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; 10+ 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] 10+ messages in thread

* Re: [gentoo-dev] distcc
  2003-02-08 11:46 [gentoo-dev] distcc MAL
@ 2003-02-08 15:59 ` Eric Andresen
  2003-02-09 11:21 ` Nick Jones
  1 sibling, 0 replies; 10+ messages in thread
From: Eric Andresen @ 2003-02-08 15:59 UTC (permalink / raw
  To: MAL; +Cc: gentoo-dev

This has been fixed in the newer releases of distcc (1.0 and above) by
calling gcc-config --get-bin-path. 1.0 and 1.1 are both in ~x86 due to
the stable portage freeze, but work fine.

On Sat, 2003-02-08 at 04:46, MAL wrote:
> 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
-- 
--Eric Andresen
  ndiin@asu.edu


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] distcc
  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
  1 sibling, 1 reply; 10+ messages in thread
From: Nick Jones @ 2003-02-09 11:21 UTC (permalink / raw
  To: MAL; +Cc: gentoo-user, gentoo-dev

> 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.

su -


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] distcc
  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
  0 siblings, 2 replies; 10+ messages in thread
From: MAL @ 2003-02-09 19:11 UTC (permalink / raw
  To: Nick Jones; +Cc: gentoo-user, gentoo-dev

Nick Jones wrote:
>>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.
> 
> su -

Yes, I know why.. thus my adding to .bashrc. Remembering to type su - 
every time to login, is not a solution, it's an additional problem.

MAL


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] distcc
  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
  1 sibling, 0 replies; 10+ messages in thread
From: Jon Nall @ 2003-02-09 20:38 UTC (permalink / raw
  To: MAL; +Cc: gentoo-user, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 685 bytes --]

why not just alias su="su -"? i did this (because i had the same
headaches you describe) and it hasn't bothered me since.

nall.

On Sun, 2003-02-09 at 13:11, MAL wrote:
> Nick Jones wrote:
> >>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.
> > 
> > su -
> 
> Yes, I know why.. thus my adding to .bashrc. Remembering to type su - 
> every time to login, is not a solution, it's an additional problem.
> 
> MAL
> 
> 
> --
> gentoo-dev@gentoo.org mailing list
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* [gentoo-dev] Re: [gentoo-user] Re: [gentoo-dev] distcc
  2003-02-09 19:11   ` MAL
  2003-02-09 20:38     ` Jon Nall
@ 2003-02-09 21:01     ` Martin Schlemmer
  2003-02-10 20:04       ` nealbirch
  1 sibling, 1 reply; 10+ messages in thread
From: Martin Schlemmer @ 2003-02-09 21:01 UTC (permalink / raw
  To: MAL; +Cc: carpaski, gentoo-user, gentoo-dev

On Sun, 09 Feb 2003 19:11:02 +0000
MAL <mal@komcept.com> wrote:

> Nick Jones wrote:
> >>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.
> > 
> > su -
> 
> Yes, I know why.. thus my adding to .bashrc. Remembering to type su - 
> every time to login, is not a solution, it's an additional problem.
> 

Why ?  It works fine form me and is an space and one char extra.  Else
feel free to add hacks to .bashrc.


-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa


--
gentoo-dev@gentoo.org mailing list


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

* [gentoo-dev] Re: [gentoo-user] Re: [gentoo-dev] distcc
  2003-02-09 21:01     ` [gentoo-dev] Re: [gentoo-user] " Martin Schlemmer
@ 2003-02-10 20:04       ` nealbirch
  0 siblings, 0 replies; 10+ messages in thread
From: nealbirch @ 2003-02-10 20:04 UTC (permalink / raw
  To: gentoo-dev

Martin Schlemmer wrote:
> On Sun, 09 Feb 2003 19:11:02 +0000
> MAL <mal@komcept.com> wrote:
> 
> 
>>Nick Jones wrote:
>>
>>>>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.
>>>
>>>su -
>>
>>Yes, I know why.. thus my adding to .bashrc. Remembering to type su - 
>>every time to login, is not a solution, it's an additional problem.
>>
> 
> 
> Why ?  It works fine form me and is an space and one char extra.  Else
> feel free to add hacks to .bashrc.

alias su="su -"

not much of a hack...

neal



--
gentoo-dev@gentoo.org mailing list


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

* [gentoo-dev] Distcc
@ 2004-02-23  5:26 Lisa Seelye
  0 siblings, 0 replies; 10+ messages in thread
From: Lisa Seelye @ 2004-02-23  5:26 UTC (permalink / raw
  To: Gentoo Dev

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

Just a quickie update on distcc here.

Within the past few days all arches (except ppc64) have been moved to
distcc-2.12.1 stable.  This version includes a rewrite of distcc-config
by Markus Nigbur (pYrania@gentoo.org) in Python.

As always, please report bugs to <http://bugs.gentoo.org>.

The distcc guide is at <http://www.gentoo.org/doc/en/distcc.xml>.
-- 
Regards,
-Lisa
<Quidquid latine dictum sit, altum viditur>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-02-23  5:26 UTC | newest]

Thread overview: 10+ 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
  -- strict thread matches above, loose matches on Subject: below --
2004-02-23  5:26 [gentoo-dev] Distcc Lisa Seelye
2002-10-12 22:58 [gentoo-dev] distcc Wout Mertens
2002-10-13  3:28 ` Evan Read

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