[distcc] distcc on Cygwin - Permission denied error
Paul_Donovan at scee.net
Paul_Donovan at scee.net
Mon Aug 12 12:19:16 GMT 2002
Hi,
As soon as I noticed that 0.7 had support for Cygwin I thought I'd give it
a try. I've compiled it OK, but I can't get it to work. When I try to
build the ccache project, I get the following errors:
campd at P_DONOVAN ~/ccache-1.9
$ make -j3 CC="distcc gcc"
distcc gcc -g -O2 -Wall -W -I. -c -o ccache.o ccache.c
distcc gcc -g -O2 -Wall -W -I. -c -o mdfour.o mdfour.c
distcc gcc -g -O2 -Wall -W -I. -c -o hash.o hash.c
distcc[9536] ERROR: (dcc_try_lock_host) flock
/cygdrive/c/temp/distcc_00002b13/lock_localhost_0000000 failed: Permission
denied
distcc[10020] ERROR: (dcc_try_lock_host) flock
/cygdrive/c/temp/distcc_00002b13/lock_localhost_0000000 failed: Permission
denied
distcc[10020] ERROR: (dcc_try_lock_host) flock
/cygdrive/c/temp/distcc_00002b13/lock_dvd_0000000 failed: Permission denied
distcc gcc -g -O2 -Wall -W -I. -c -o execute.o execute.c
distcc[9784] ERROR: (dcc_try_lock_host) flock
/cygdrive/c/temp/distcc_00002b13/lock_localhost_0000000 failed: Permission
denied
distcc[9784] ERROR: (dcc_try_lock_host) flock
/cygdrive/c/temp/distcc_00002b13/lock_dvd_0000000 failed: Permission denied
distcc[9536] Warning: (dcc_compile_remote) compiler failed (waitstatus
0x6800);
skipping retrieval of object file
distcc[9536] ERROR: (dcc_critique_status) gcc on dvd failed with exit code
104
make: *** [mdfour.o] Error 104
make: *** Waiting for unfinished jobs....
distccd is running successfully on the machine called 'dvd'. I am not
running it on this machine (p_donovan). I chose to use make -j3 because I
normally use -j2 on my machine - it has two CPUs.
Some more information:
DISTCC_HOSTS=localhost dvd
CYGWIN=tty ntsec
campd at P_DONOVAN ~/ccache-1.9
$ uname -a
CYGWIN_NT-5.0 P_DONOVAN 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown
campd at P_DONOVAN ~/ccache-1.9
$ ls -la /cygdrive/c/temp/distcc_00002b13/
total 76
drwxr-xr-x 2 campd None 4096 Aug 12 22:11 .
drwxrwxrwx 7 campd None 73728 Aug 12 22:11 ..
-rw------- 1 campd None 0 Aug 12 22:11 lock_dvd_0000000
-rw------- 1 campd None 0 Aug 12 22:11
lock_localhost_0000000
-rw------- 1 campd None 0 Aug 12 22:11
lock_localhost_0000001
I'd really like to get distcc working on our Windows PCs so I'm willing to
provide more information on request.
Thanks,
Paul Donovan
Senior Programmer, Sony Computer Entertainment Europe
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster at scee.net
This footnote also confirms that this email message has been checked
for all known viruses.
**********************************************************************
SCEE 2002
More information about the distcc
mailing list