On Fri, Jul 3, 2009 at 12:21 AM, Xiaofan Chen <[email protected]> wrote:

> On Fri, Jul 3, 2009 at 3:11 PM, Joseph Kuss<[email protected]> wrote:
>
> > I changed the variables TMP and TEMP in windows temporariily while I
> > am running cygwin so they point at c:\temp  rather than c:\Users
> > now $ echo $TEMP returns a nicer "/cygdrive/c/temp"
> >
> > After this I repeated repeated
> >
> > ./bootstrap
> > ========
> > $ ./bootstrap
> > + aclocal
> > /usr/bin/m4:configure.in:428: canot create temporary file for diversion:
> > Permission denied
> > autom4te-2.6.3: /usr/bin/m4 failed with exit status: 1
> > aclocal-1.11: autom4te failed with exit status: 1
> > Bootstrap complete; you can './configure -enable-maintainer-mode ...."
> > ========
> >
> > I noticed that  there  does exist a "m4.exe" file in the /usr/bin
> directory
> > it looks like
> > m4.exe is haveing trouble doing whatever it is supposed to do.
> > IMPORTANT - I noticed that now the message is
> > /usr/bin/m4:configure.in:718: canot create temporary file for diversion:
> > Permission denied
>
> You might want to run cygwin as admin to see if that helps. Or you
> may want to disable UAC. UAC is known to cause problems.
> .



Well, both systems I've tried (64bit 2008 Server and Vista Home Premium)
have UAC on and both build fine.

Having said that, if you've ever run cygwin as admin, you may well have
messed up some permissions for non-admin mode.

But I believe the problem occurs on an XP system as well.

BTW, it looks to me that tildes in paths/filenames are going to play havoc
with configure once you get that far as it uses them internally to delimit
the commands it runs.

Orin.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to