On Fri, Jul 3, 2009 at 3:11 PM, Joseph Kuss<[email protected]> wrote:
> /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

Google seems to suggest this to be a quite common problem.

I would suggest the following.

1) Turn off anti-vrius
2) export TMPDIR="/cygdrive/c/temp"
3) If the above methods do not help, try to run Cygwin as admin.

Reference:
http://forum.videolan.org/viewtopic.php?f=14&t=43019
http://wiki.videolan.org/Win32CompileCygwin

Quote:
" Error: cannot create temporary file for diversion: Permission denied

If the above error appears, it might mean you don't have the TMPDIR
defined in cygwin. You will need to define it and have its value point to
your temporary directory. You can use export TMPDIR="/cygdrive/c/temp"
or any directory for it (/cygdrive/c/temp is same as C:\temp). If this
doesn't help, make sure you run cygwin with admin rights (With Windows
Vista, right click cygwin shortcut and select "Run as administrator").
Avira AntiVir might also cause issues to m4, so disabling it while ./bootstrap
might help. "

-- 
Xiaofan http://mcuee.blogspot.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to