[distcc] confirmation of process running on volunteer machines using distcc

Martin Pool mbp at samba.org
Thu Jul 10 12:10:21 GMT 2003


On 10 Jul 2003, Brad Hards <bhards at bigpond.net.au> wrote:
> >    Hi
> >    Respected Sir Martin & colleagues
> Martin, can the next version be called "Ni!"? Please?

:-)

Murad Ali, thankyou for your question.

> >    I am Murad Ali . I need help in light of the following info.
> >
> >    1.  I install distcc 2.7.1 on TWO computers with Redhat Linux 7.3
> >    2.  On volunteer I started the daemon as
> >         #distccd  --daemon as distcc user
> >    3.   with hostname command I change the name of client to murad & that
> >    of Volunteer to safdar
> >    4.   I also have created the masquerade directory & links as mentioned
> >    in Manual.
> >    5.  The first lines of my project makefile are
> >              CC = /usr/bin/gcc
> >              GCCFLAGS=  -c   -wall

The masquerade directories only work if Make uses the $PATH variable
to find the compiler.  You must not specify a full path in $CC, or it
won't find the distcc fake compiler.

In other words

  CC = gcc

> You may need to use the -j flag. Otherwise you will only compile one file at a 
> time.
> 
> >    6.  when  I  run  a  my  project(  C program), it get appear on client
> >    Machine( murad ) with
> >                                                            TOP
> >                                                             PS  commands
> >     but no traces of it on  Voulenteer  with these commands.
> >    How  can I get satisfaction that some portion is running on Volunteer(
> >    ie is there any way for checking it)
> There is a GUI (and CLI?) application in the current version that works with 
> Gnome. That shows what is happening.

Also try running "netstat -t" -- you should see connections to port
3632.  Or look in the daemon logfile on the server -- probably
/var/log/messages on Red Hat Linux.

--
Martin



More information about the distcc mailing list