delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <F614BF868E0DD411A5A700508B957E0038D00D@MSGBOS679NTS.fmr.com> |
From: | "Tolkin, Steve" <Steve DOT Tolkin AT fmr DOT com> |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Cannot compile because of cpp.exe: C:\TEMP/foo.i: Permission deni |
ed | |
Date: | Fri, 2 Jun 2000 10:04:35 -0400 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2448.0) |
I treied to make the various RCS files, and got this failure: When trying to compile I got ./conf.sh: The command 'gcc -Dhas_conf_h -I. -I. -O -o a.out a.c ' failed on a trivial program. To track the problem down I manually ran the following 2 commands which show the problem: > echo 'main() { return 0; }' > a.c > gcc -Dhas_conf_i -I. -O -o a.out a.c cpp.exe: C:\TEMP/ccWsQgSx.i: Permission denied Here are some relevant details: > id uid=500(administrator) gid=544(Administrators) groups=544(Administrators) > ls -ld c:/temp drwxrwxrwt 6 administ SYSTEM 32768 Jun 2 09:53 c:/temp/ > type cpp.exe cpp.exe is /usr/bin/cpp.exe > ls -l /usr/bin/cpp.exe -rwxrwxrwx 1 administ None 75264 Jan 21 00:56 /usr/bin/cpp.exe* > echo $CYGWIN ntsec ntea tty notitle and CYUGWIN is now set before I launch bash. (I set it in my Windows system environment.) I seem to have some kind of permissions problem, but I do not know what it is, or how to fix it! I wonder if the name of the temp file has both C: followed by a backslash, then TEMP and then a forward slash is somehow related to this, or just a red herring. Any help would be appreciated, Steve Here is the original attempt to run make that led me to the above problem. 530/temp/rcs/rcs-5.7> make ... cd src && make all make[1]: Entering directory `/temp/rcs/rcs-5.7/src' rm -f a.* ALL_CFLAGS=' -Dhas_conf_h -I. -I. -O' \ CC='gcc' \ COMPAT2='0' \ DIFF3='/usr/bin/diff3' DIFF3_BIN='1' \ DIFF='/usr/bin/diff' DIFFFLAGS='-an' DIFF_L='1' \ DIFF_SUCCESS='0' \ DIFF_FAILURE='1' \ DIFF_TROUBLE='2' \ ED='ed' \ LDFLAGS='' LIBS='' \ RCSPREFIX='/usr/local/bin/' \ SENDMAIL='' \ /bin/sh -x ./conf.sh 3>&1 >a.h 2>conf.err ./conf.sh: testing permissions ... OK ./conf.sh: testing compiler for plausibility ... ./conf.sh: The command 'gcc -Dhas_conf_h -I. -I. -O -o a.out a.c ' failed on a trivial program. make[1]: *** [conf.h] Error 1 make[1]: Leaving directory `/temp/rcs/rcs-5.7/src' make: *** [all] Error 2 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |