ruby-debug/ruby-debug-base19 — Issue #6: Will not install (HEAD, or 0.11.26) against 1.9.3-p0
Author: leehambley
Created: 2012-01-06 11:42:21+00:00
State: open

``` text
gem install {linecache19-0.5.13.gem,ruby-debug-base19-0.11.26.gem} -- --with-ruby-include=$(echo ~/.rbenv/versions/1.9.3-p0/)
Building native extensions. This could take a while...
Successfully installed linecache19-0.5.13
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-base19-0.11.26.gem:
ERROR: Failed to build gem native extension.

/Users/leehambley/.rbenv/versions/1.9.3-p0/bin/ruby extconf.rb --with-ruby-include=/Users/leehambley/.rbenv/versions/1.9.3-p0/
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/leehambley/.rbenv/versions/1.9.3-p0/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
extconf.rb:16:in `block in

': break from proc-closure (LocalJumpError)
from /Users/leehambley/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:18:in `call'
from /Users/leehambley/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:18:in `create_makefile_with_core'
from extconf.rb:32:in `

'

Gem files will remain installed in /Users/leehambley/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.26 for inspection.
Results logged to /Users/leehambley/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.26/ext/ruby_debug/gem_make.out
1 gem installed
Installing ri documentation for linecache19-0.5.13...
Installing RDoc documentation for linecache19-0.5.13...
```

I'm really struggling to understand the problem here, sources from ruby were compiled with [this trivial build symbols hiding patch](https://github.com/ruby/ruby/pull/56.diff) Which I require to make perftools.rb work.

Please don't consider this a "please help a noob" ticket, I've spent a lot of time on this, and the config works for others, for what it's worth OS is OSX Snow Lion, with LLVM `gcc` version

``` text
12:33 cache (master) $ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```