Project

General

Profile

Actions

Backport #2592

closed

Cannot compile 1.8.6-p388 under MinGW due F_GETFD being underclared

Added by luislavena (Luis Lavena) over 14 years ago. Updated about 13 years ago.


Description

=begin
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:

 ../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
 

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.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0