ruby/config.h in Ruby 1.9 devel package
Vít Ondruch
vondruch at redhat.com
Tue Sep 17 08:47:14 UTC 2013
Dne 15.9.2013 01:21, Dan Allen napsal(a):
> 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
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].
>
> Should this be fixed?
Well, it could break other things, so I don't think it is worth of
backporting.
Vít
[1]
http://pkgs.fedoraproject.org/cgit/ruby.git/commit/?id=1e68c10ca8fdeef75236b24640285f3e68f723a6
[2] https://fedorahosted.org/fpc/ticket/312
[3] https://bugzilla.redhat.com/show_bug.cgi?id=975660
More information about the ruby-sig
mailing list