From: "Martin Dürst" Date: 2009-07-14T15:47:47+09:00 Subject: [ruby-core:24322] [Bug #1775] autoconf failing on cygwin Bug #1775: autoconf failing on cygwin http://redmine.ruby-lang.org/issues/show/1775 Author: Martin D��rst Status: Open, Priority: Normal Category: core ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] On a pristine anonymous svn checkout of trunk head, I'm not able to run autoconf successfully. The error message I'm getting is as follows: /usr/bin/m4:configure.in:YYY: cannot create temporary file for diversion: Permission denied autom4te-2.63: /usr/bin/m4 failed with exit status: 1 In the above, YYY is changing every time I run autoconf. Numbers I get, among others: 968, 957, 970, 959, 932, 1153, 941, 1106, 1212, 1197, 932, 967, 957, 1056, 941, 959, 959, 960, 931, 959, 957, 931, 933, 1282, 959, 1153, 957, 960, 973, 957, 1153,... I'm not an expert in autoconf or m4, and I don't see any commonalities in the lines listed above in configure.in. Occasionally (maybe once in 10 times), I get an additional message (the last 6 letters of the directory name being different every time): /usr/bin/m4: cannot remove temporary directory /tmp/m4-jZWJbn: Directory not empty But a simple 'rmdir' for that directory from a cygwin console removes that directory. This is on cygwin on Windows Vista, on a dual core machine. I first was assuming a permission problem, but that would not show up with such a random pattern, and it seems all the relevant permissions are okay. Now I'm suspecting a racing condition between the two cores, but that's just a wild guess. Any advice/help very much appreciated. Regards, Martin. ---------------------------------------- http://redmine.ruby-lang.org