Comments (6)
I've bumped debugger-linecache to depend on the latest working debugger-ruby_core_source. Does it work now? If not, I need the full error message you're seeing.
from debugger.
No, it still doesn't work.
Fetching: debugger-ruby_core_source-1.1.1.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing debugger:
ERROR: Failed to build gem native extension.
/Users/jstojanovski/.rbenv/versions/1.9.3-p0/bin/ruby extconf.rb --with-ruby-include=/Users/jstojanovski/.rbenv/versions/1.9.3-p0/include/ruby-1.9.1/ruby-1.9.3-p0
checking for vm_core.h... *** 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/jstojanovski/.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
/Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:506:in `try_cpp'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:931:in `block in have_header'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:930:in `have_header'
from extconf.rb:9:in `block in <main>'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/debugger-ruby_core_source-1.1.1/lib/debugger/ruby_core_source.rb:17:in `call'
from /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/debugger-ruby_core_source-1.1.1/lib/debugger/ruby_core_source.rb:17:in `create_makefile_with_core'
from extconf.rb:13:in `<main>'
Gem files will remain installed in /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/debugger-linecache-1.1.1 for inspection.
Results logged to /Users/jstojanovski/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/debugger-linecache-1.1.1/ext/trace_nums/gem_make.out
But it successfully installed debugger-ruby_core_source
.
from debugger.
I just realized that this is my problem, I apparently can't install any gem that's "building native extensions" anymore. I don't have a slightest idea why, but this doesn't have anything to do with this gem. Tnx for help :)
Update: Yeah, it works now, I fixed my problem with the C compiler :)
from debugger.
No source for ruby-1.9.3-p133 provided with debugger-ruby_core_source gem.
when running
rvmsudo gem install debugger -v '1.0.0' -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-head
from debugger.
@idrozd I've just released a version that should fix your issues. Please open a new issue if still seeing install issues.
from debugger.
Thanks a lot!
I'll try it out )
from debugger.
Related Issues (20)
- Start remote debugging from within script HOT 2
- Ruby 2.1.0 segmentation fault with debugger HOT 6
- symbol lookup error HOT 6
- rdebug: 43dd0995 breaks catching exception message and raises exception in debug mode HOT 3
- Ruby 2.1.1 install error HOT 20
- rdebug: history is not saved if exception occurs HOT 2
- ruby 2.0 ,ERROR: Failed to build gem native extension., this error didn't completely solve HOT 4
- Post Mortem Debugging HOT 3
- You may have encountered a bug in the Ruby interpreter or extension libraries HOT 3
- debugger can't be installed on ruby 2.X HOT 35
- No such file or directory @ rb_file_s_stat - ./212/ruby_debug.h (Errno::ENOENT) HOT 2
- problem with debugger 1.6.8 on ruby 2.1.2 HOT 2
- debugger terminates a Rails console when you type `n` HOT 3
- gem install debugger problem HOT 2
- Pry & Debugger HOT 2
- Ruby 2.1.4 error HOT 2
- Error installing on 1.9.3p392 HOT 2
- Unclear install error for ruby 2 HOT 6
- Please include a compatibility layer! HOT 1
- No source for ruby-1.9.3-p556 provided with debugger-ruby_core_source gem.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debugger.