Special Thanks to Xiaofan Chen ! Xiofan, the link that you provided me had the key to my problem. Both of my computers "xp in kitchen" and "laptop vista" have McAfee antivirus. It turns out that disabling this prevents this kind of problem:
==== > /usr/bin/m4:configure.in:428: canot create temporary file for diversion: > Permission denied > As you were quoting 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. " So, not only Avira AntiVir, but also McAffee can cause problems. Now I am almost there: My next problem is during ./config (which starts out and gets off to a good start) I did: ===== ./configure --enable-maintainer-mode --disable-werror --disable-shared --enable-ft2232_ftd2xx --with-ftd2xx-win32-zipdir=/home/openocd/ftd2xx CC="gcc -mno-cygwin" ===== After many other lines of output I got: ===== checking for ftd2xx.lib exists (win32) ... checking wether ftd2xx library works. .. configure: error: Cannot built & run test program using ftd2xx.lib ===== This may be one that the people doing openocd development can explain. Once again, Thanks, Joe On Fri, Jul 3, 2009 at 1:05 AM, Xiaofan Chen <[email protected]> wrote: > 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 >
OntoNextProblem.pdf
Description: Adobe PDF document
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
