From: "Tolkin, Steve" <Steve.Tolkin@fmr.com>
To: cygwin@sourceware.cygnus.com
Subject: Cannot compile because of cpp.exe: C:\TEMP/foo.i: Permission denied
Date: Fri, 02 Jun 2000 08:52:00 -0000 [thread overview]
Message-ID: <F614BF868E0DD411A5A700508B957E0038D00D@MSGBOS679NTS.fmr.com> (raw)
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@sourceware.cygnus.com
reply other threads:[~2000-06-02 8:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F614BF868E0DD411A5A700508B957E0038D00D@MSGBOS679NTS.fmr.com \
--to=steve.tolkin@fmr.com \
--cc=cygwin@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).