Permissions problem and cygcheck problem
Eric Lilja
mindcooler@gmail.com
Thu Sep 18 11:18:00 GMT 2008
Hello, I have cygwin installed on a brand new computer running Vista
Ultimate 64-bit. One of the many things I use cygwin for is to compile a
native Windows version of emacs (the trunk). I build it using two
scripts: One that checks out and runs the configure script and the other
one builds and installs it. I've been using these two scripts for some
time now.
However, I encountered some problems running them on this machine:
First problem: The build/install-script copies a third party C#-mode to
the site-lisp directory of emacs and byte-compiles it. I noticed that
the byte compilation didn't work because emacs got a permission denied
error on the .el-file, so I had to chmod 755 it before byte-compiling it.
Second problem: My script also copies a .dll-file to the emacs bin
directory (an xpm-dll) that is used to get more nicer looking toolbars,
but when I ran emacs I still got the default, really ugly toolbars. This
again was due to a permission problem, I had to chmod 755 the xpm-dll to
make emacs be able to use it. Here's an ls -l dump from my emacs bin
directory:
$ ls -l
total 48M
----------+ 1 hivemind None 35K Sep 18 10:24 COPYING
----------+ 1 hivemind None 389K Sep 18 10:24 addpm.exe
----------+ 1 hivemind None 393K Sep 18 10:24 cmdproxy.exe
----------+ 1 hivemind None 628K Sep 18 10:23 ctags.exe
----------+ 1 hivemind None 382K Sep 18 10:24 ddeclient.exe
----------+ 1 hivemind None 25K Sep 18 10:23 digest-doc.exe
----------+ 1 hivemind None 512K Sep 18 10:23 ebrowse.exe
----------+ 1 hivemind None 42M Sep 18 10:23 emacs.exe
----------+ 1 hivemind None 801K Sep 18 10:23 emacsclient.exe
----------+ 1 hivemind None 853K Sep 18 10:23 emacsclientw.exe
----------+ 1 hivemind None 627K Sep 18 10:23 etags.exe
----------+ 1 hivemind None 38K Sep 18 10:23 hexl.exe
----------+ 1 hivemind None 1018K Sep 18 10:23 movemail.exe
----------+ 1 hivemind None 437K Sep 18 10:24 runemacs.exe
----------+ 1 hivemind None 39K Sep 18 10:23 sorted-doc.exe
-rwxr-xr-x 1 hivemind None 51K Sep 18 10:24 xpm4.dll*
As you can see, only xpm4.dll has any permissons set and that's only
because my build script does it automatically. I didn't have to do this
when running under Windows XP.
What's the cause and solution of these problems? When preparing this
question, I tried to perform a cygcheck -svr > cygcheck.out but I had to
kill it because it wouldn't stop (some problem with reading the
registry, I think). And by kill I mean closing the shell completely,
kill -9 pidofcygcheck returned a resource temporarily unavailable error.
I'm attaching a snipped version of it. I see now in the cygcheck.out
file this: "Running under WOW64 on AMD64", but this is an Intel computer
(as one can see a bit further down).
Thanks for any help. I will be at work for the next few hours, but I
will monitor this list from work and perform any additional tests when I
get back home, if someone asks me to.
- Eric
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080918/b552ce85/attachment.ksh>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list