Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Trouble building with cygwin

Re: Trouble building with cygwin

From: David Rothenberger <daveroth_at_acm.org>
Date: Tue, 28 Oct 2008 12:22:34 -0700

On 10/28/2008 11:09 AM, Joseph Garvin wrote:
> I've setup a cygwin build environment, but I'm having trouble getting it
> working consistently. I'm currently traveling, so I have my cygwin
> installation on a USB stick. If I build rockbox on one computer, and
> then later move to another, I have to create a new build folder and
> build rockbox from scratch, otherwise I get this error when I try to
> configure (I have to reconfigure each time because the drive letter for
> the USB stick varies from computer to computer and make can't find files):
>
> Using arm-elf-gcc 4.0.3 (400)
> Using arm-elf-ld 2.16
> ../tools/configure: line 2065: autoconf.h: Permission Denied
> ../tools/configure: line 2116: Makefile: Permission Denied
> Created Makefile
>
> The computers aren't locked down in anyway, so I don't see why
> permission should be denied. Nothing is marked read only and there's
> over 1GB of space free on the disk. Any ideas?

Try setting "nontsec" in the CYGWIN environment variable before you
create the build directory. This will stop Cygwin from trying to fake
posix permissions on the files. Your problem is probably that the users
on the two machines are different and the Cygwin posix permissions are
causing you problems.

You might also be able to work around this by using Windows to reset all
the permissions on your build folder when you switch computers.

See <http://cygwin.com/cygwin-ug-net/ntsec.html> for more details about
Cygwin's unix-like object permissions.

-- 
David Rothenberger  ----  daveroth_at_acm.org
Who loves me will also love my dog.
                 -- John Donne
Received on 2008-10-28

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa