Bug #2426
closedruby.h fails requireing ruby/config.h
Description
=begin
ruby tries to require ruby/config.h in /usr/lib/ruby/1.9.1/i686-linux/ruby.h. this fails as config.log shows. the ruby.h file is fetch by rbconfig.rb using CONFIG["rubyhdrdir"]. if i create the link to config.h in /usr/lib/ruby/1.9.1/i686-linux/ by typing ln -sf ../i686-linux/ruby/config.h config.h in /usr/include/ruby-1.9.1/ruby then everything is fine.
this is on arch linux in latest stable version.
any further information needed?
=end
Files
Updated by ujihisa (Tatsuhiro Ujihisa) over 14 years ago
- Status changed from Open to Assigned
- Assignee set to nobu (Nobuyoshi Nakada)
=begin
=end
Updated by mame (Yusuke Endoh) about 14 years ago
=begin
Hi,
2009/12/3 Dominik Elsbroek redmine@ruby-lang.org:
ruby tries to require ruby/config.h in /usr/lib/ruby/1.9.1/i686-linux/ruby.h.
Nobu, do you think is it guaranteed to include ruby.h directly?
I think mkmf.rb must be used for the purpose. If you agree,
please close this ticket.
--
Yusuke ENDOH mame@tsg.ne.jp
=end
Updated by nobu (Nobuyoshi Nakada) about 14 years ago
- Status changed from Assigned to Feedback
=begin
Seems the installation is wrong.
1.9 doesn't put header files under libdir.
How did you install it?
=end
Updated by nobu (Nobuyoshi Nakada) almost 14 years ago
- Status changed from Feedback to Rejected
=begin
No response, No problem.
=end