ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
370 stars 83 forks source link

Fix failed build on MacOS 10.15, Ruby 2.6.3 #179

Closed itsmegatunger closed 4 years ago

itsmegatunger commented 4 years ago

Hi, I'm using MacOS 10.15 and ruby 2.6.3p62, rails 5.2.3. And I can't build this gem since update to macOS Catalina (10.15). Here's just my temporary fix solution, can you review it?

Building native extensions. This could take a while...
ERROR:  Error installing debase:
        ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.6.0/gems/debase-0.2.4.1/ext
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20191019-16088-165bduw.rb extconf.rb
*** 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.
ViugiNick commented 4 years ago

@itsmegatunger Could you please check the installation of debase 0.2.5.beta1

itsmegatunger commented 4 years ago

Still not working

Building native extensions. This could take a while...
ERROR:  Error installing debase:
        ERROR: Failed to build gem native extension.

    current directory: /Users/megatunger/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/debase-0.2.5.beta1/ext
/Users/megatunger/.rbenv/versions/2.6.5/bin/ruby -I /Users/megatunger/.rbenv/versions/2.6.5/lib/ruby/2.6.0 -r ./siteconf20191023-61844-yih04n.rb extconf.rb
*** 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/megatunger/.rbenv/versions/2.6.5/bin/$(RUBY_BASE_NAME)
/Users/megatunger/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- debase/ruby_core_source (LoadError)
        from /Users/megatunger/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from extconf.rb:28:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in /Users/megatunger/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/debase-0.2.5.beta1 for inspection.
Results logged to /Users/megatunger/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/extensions/x86_64-darwin-19/2.6.0-static/debase-0.2.5.beta1/gem_make.out
ViugiNick commented 4 years ago

@itsmegatunger Looks like you should install debase-ruby_core_source gem first

itsmegatunger commented 4 years ago

@itsmegatunger Looks like you should install debase-ruby_core_source gem first

I tried, but still the same error. Really strange