Subject: Re: error 1062 when starting distccd
From: "Gerrit P. Haase" <[email-masked]>
To: "Harig, Mark" <[email-masked]>
Cc: "Christian" <[email-masked]>, "cygwin" <[email-masked]>, "John Morrison" <[email-masked]>
Date: Fri, 23 Jan 2004 10:59:23 +0100

Mark schrieb:

> Here is someone's solution that uses "cygrunsrv":

> http://lists.samba.org/archive/distcc/2004q1/001960.html

Based on this I suggest the following command line to install it:

$ cygrunsrv \
  --install distccd \
  --path /usr/bin/distccd.exe \
  --args "--no-detach --daemon" \
  --disp "Cygwin distccd" \
  --env "CYGWIN=ntsec tty"

$ cygrunsrv -S distccd

Seems to run.

$ ps -e | grep distcc
     2512    1916    2512       2032    ?   18 10:49:22 /usr/bin/distccd
     2104    2512    2512       2104    ?   18 10:49:22 /usr/bin/distccd
     2156    2512    2512       2156    ?   18 10:49:24 /usr/bin/distccd
     2136    2512    2512       2136    ?   18 10:49:25 /usr/bin/distccd

Attached is a script, would be nice to have it in the original source
distribution, there is this neat examples directory;)  For Cygwin it
could be part of the binary distribution as 'distccd-config' script in
/usr/bin, though should be similar to the sshd-config script then.

Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/