Project

General

Profile

Actions

Bug #2317

closed

ruby/config.h header file not found

Bug #2317: ruby/config.h header file not found

Added by Redwind (Red Wind) over 16 years ago. Updated almost 15 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]
Backport:
[ruby-core:26449]

Description

=begin
In several Linux distributions I see that the header files ruby/ruby.h and
ruby/st.h installed in /usr/include/ruby-1.9.1 contain '#include "ruby/config.h"'.
But the file ruby/config.h does not exist. Instead it is installed
in /usr/incude/ruby-1.9.1/{architecture}-linux/ruby/config.h.

I saw some applications had to fix their builds by creating a link like this:
ln -s /usr/include/ruby-1.9.1/{architecture}-linux/ruby/config.h /usr/include/ruby-1.9.1/ruby/config.h

The origin of the problem is in the ruby release not any patches from distros.
Is this a simple bug in the ruby makefiles or is ruby really expecting all applications
to change their makefiles? Or is there some other solution?
=end

Actions

Also available in: PDF Atom