Giter VIP home page Giter VIP logo

Comments (6)

cldwalker avatar cldwalker commented on May 28, 2024

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.

janko avatar janko commented on May 28, 2024

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.

janko avatar janko commented on May 28, 2024

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.

idrozd avatar idrozd commented on May 28, 2024

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.

cldwalker avatar cldwalker commented on May 28, 2024

@idrozd I've just released a version that should fix your issues. Please open a new issue if still seeing install issues.

from debugger.

idrozd avatar idrozd commented on May 28, 2024

Thanks a lot!
I'll try it out )

from debugger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.