Dne 15.9.2013 01:21, Dan Allen napsal(a):This change was introduced in Ruby 2.0 by this commit [1]. I tried to find some universal solution for this issue, but not everybody is happy about it [2], including upstream [3].
While attempting to compile Rubinius on Fedora, I ran into the problem that it could not locate the following header file:
/usr/include/ruby/config.h
As it turns out, this file is located in an arch-specific directory in the Ruby 1.9 devel package:
/usr/include/x86_64/ruby/config.h
as you can see here:
http://koji.fedoraproject.org/koji/rpminfo?rpmID=3705765
In the Ruby 2.0 devel package, it's in the expected location, as you can see here:
http://koji.fedoraproject.org/koji/rpminfo?rpmID=4216149
Should this be fixed?
Well, it could break other things, so I don't think it is worth of backporting.