Bug #2592: Cannot compile 1.8.6-p388 under MinGW due F_GETFD being underclared
http://redmine.ruby-lang.org/issues/show/2592

Author: Luis Lavena
Status: Open, Priority: Normal
Assigned to: Kirk Haines
ruby -v: ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32]

Hello,

I'm trying to compile the lastest version of Ruby 1.8.6, released this weekend that covers the security issue exposed of WEBrick, but I'm having some problems:

<pre>
../ruby_1_8/eval.c: In function `rb_thread_schedule':
../ruby_1_8/eval.c:10821: error: `F_GETFD' undeclared (first use in this function)
../ruby_1_8/eval.c:10821: error: (Each undeclared identifier is reported only once
../ruby_1_8/eval.c:10821: error: for each function it appears in.)
make: *** [eval.o] Error 1
</pre>

Which seems completely unrelated to the issue of WEBrick, but is affecting my compilation process to deliver updated RubyInstallers.

Tried to find the commit of origin of this without success.

Seems to me that on every patchlevel, either of 1.8.6, 1.8.7 and 1.9.1 numerous build issues are being introduced.

I would love to share my tools and knowledge to someone at Ruby-Core that could check these releases simply building under Windows prior a release. We have automated almost completely the process and require minimum setup to use it.

Thank you.


----------------------------------------
http://redmine.ruby-lang.org