Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#16203 - ruby 1.9.1 headers missing for native extensions
Attached to Project:
Arch Linux
Opened by laurent laffont (lolgzs) - Tuesday, 15 September 2009, 09:42 GMT
Last edited by Allan McRae (Allan) - Tuesday, 15 September 2009, 16:16 GMT
Opened by laurent laffont (lolgzs) - Tuesday, 15 September 2009, 09:42 GMT
Last edited by Allan McRae (Allan) - Tuesday, 15 September 2009, 16:16 GMT
|
DetailsDescription:
Cannot install gem ruby-debug19 as several headers are missing in order to compile native extensions needed. Files needed in /usr/include/ruby-1.9.1: debug.h eval_intern.h id.h iseq.h node.h revision.h ruby.h thread_pthread.h version.h vm_core.h vm_opts.h insns.inc insns_info.inc Additional info: * package version(s): ruby 1.9.1_p243-1 Steps to reproduce: pacman -S ruby gem install ruby-debug19 |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 15 September 2009, 16:16 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Tuesday, 15 September 2009, 16:16 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
$ git clone git://github.com/mark-moseley/linecache.git
Initialized empty Git repository in /tmp/linecache/.git/
remote: Counting objects: 502, done.
remote: Compressing objects: 100% (223/223), done.
remote: Total 502 (delta 253), reused 401 (delta 205)
Receiving objects: 100% (502/502), 85.78 KiB | 76 KiB/s, done.
Resolving deltas: 100% (253/253), done.
$ cd linecache/ext/trace_nums
$ ruby extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
In exconf.rb there's:
hdrs = proc {
have_header("vm_core.h") and have_header("version.h") and
have_macro("RUBY_VERSION_MAJOR", "version.h")
}
I have attached mkmf.log
If I put the headers in /usr/include/ruby-1.9.1 then the extension builds successfully.
This is a bug in ruby-debug19, not our ruby package.
Edit: meant ruby-debug not ruby-devel