You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <main>': 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 `<main>'
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 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
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.
The text was updated successfully, but these errors were encountered:
@kenips That directory didn't reliably exist depending on my installation methods, not sure what can differ about the build process to change the installation of header files.
Let's chalk this up to 1.9.3 being incorrectly installed in some circumstances (if memory serves, it was the source install that didn't create that directory)… however, I was able to get reliable installation of ruby-debug under 1.9.3 using the procedure I documented here: ruby/ruby#56
I'm really struggling to understand the problem here, sources from ruby were compiled with this trivial build symbols hiding patch 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
versionThe text was updated successfully, but these errors were encountered: