ERROR: Failed to build gem native extension - debase-0.2.2.beta6
ERROR: Failed to build gem native extension - debase-0.2.2.beta6
这个问题我已经有一段时间了。我试图在 Rubymine 中启动调试器并不断收到此错误。我已经尝试清除我的 gem 设置并重新安装它,但没有用。
当我 运行 第一次调试时,我得到了安装 ruby-debug-ide
gem 的提示,但最终出现了这个错误。
Error running Local: lims-app: Failed to Install Gems. Following gems were not installed: /Applications/RubyMine.app/Contents/rb/gems/debase-0.2.2.beta6.gem: Error installing debase-0.2.2.beta6.gem: ERROR: Failed to build gem native extension. /Users/am029788/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20160229-17823-mgpbf3.rb extconf.rb checking for vm_core.h... no checking for vm_core.h... no checking for vm_core.h... yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling breakpoint.c compiling context.c compiling debase_internals.c In file included from /Users/am029788/.rvm/gems/ruby-2.2.1/gems/debase-ruby_core_source-0.8.4/lib/debase/ruby_core_source/ruby-2.2.1-p85/method.h:14, from /Users/am029788/.rvm/gems/ruby-2.2.1/gems/debase-ruby_core_source-0.8.4/lib/debase/ruby_core_source/ruby-2.2.1-p85/vm_core.h:24, from ./hacks.h:1, from debase_internals.c:2: /Users/am029788/.rvm/gems/ruby-2.2.1/gems/debase-ruby_core_source-0.8.4/lib/debase/ruby_core_source/ruby-2.2.1-p85/internal.h:246: error: expected ‘;’, ‘,’ or ‘)’ before ‘x’ make: *** [debase_internals.o] Error 1 make failed, exit code 2 Gem files will remain installed in /Users/am029788/.rvm/gems/ruby-2.2.1/gems/debase-0.2.2.beta6 for inspection. Results logged to /Users/am029788/.rvm/gems/ruby-2.2.1/extensions/x86_64-darwin-14/2.2.0-static/debase-0.2.2.beta6/gem_make.out
我经常看到错误 Failed to build gem native extension
。这是什么意思?
当我在此之后尝试 运行 调试时,它尝试连接但失败了。
我的配置:
- 红宝石矿 8.0.3
- ruby-2.2.1
- OSX 10.10.5
我今天遇到了同样的问题,原因是C没有运行的权限。所以尝试在终端中运行 gcc,并同意运行,然后再次捆绑,你应该可以成功安装debase。
我为此奋斗了很多。
最终在应用程序的 gem 文件中添加了版本为 0.1.1 的 debase gem。
这个问题我已经有一段时间了。我试图在 Rubymine 中启动调试器并不断收到此错误。我已经尝试清除我的 gem 设置并重新安装它,但没有用。
当我 运行 第一次调试时,我得到了安装 ruby-debug-ide
gem 的提示,但最终出现了这个错误。
Error running Local: lims-app: Failed to Install Gems. Following gems were not installed: /Applications/RubyMine.app/Contents/rb/gems/debase-0.2.2.beta6.gem: Error installing debase-0.2.2.beta6.gem: ERROR: Failed to build gem native extension. /Users/am029788/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20160229-17823-mgpbf3.rb extconf.rb checking for vm_core.h... no checking for vm_core.h... no checking for vm_core.h... yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling breakpoint.c compiling context.c compiling debase_internals.c In file included from /Users/am029788/.rvm/gems/ruby-2.2.1/gems/debase-ruby_core_source-0.8.4/lib/debase/ruby_core_source/ruby-2.2.1-p85/method.h:14, from /Users/am029788/.rvm/gems/ruby-2.2.1/gems/debase-ruby_core_source-0.8.4/lib/debase/ruby_core_source/ruby-2.2.1-p85/vm_core.h:24, from ./hacks.h:1, from debase_internals.c:2: /Users/am029788/.rvm/gems/ruby-2.2.1/gems/debase-ruby_core_source-0.8.4/lib/debase/ruby_core_source/ruby-2.2.1-p85/internal.h:246: error: expected ‘;’, ‘,’ or ‘)’ before ‘x’ make: *** [debase_internals.o] Error 1 make failed, exit code 2 Gem files will remain installed in /Users/am029788/.rvm/gems/ruby-2.2.1/gems/debase-0.2.2.beta6 for inspection. Results logged to /Users/am029788/.rvm/gems/ruby-2.2.1/extensions/x86_64-darwin-14/2.2.0-static/debase-0.2.2.beta6/gem_make.out
我经常看到错误 Failed to build gem native extension
。这是什么意思?
当我在此之后尝试 运行 调试时,它尝试连接但失败了。
我的配置: - 红宝石矿 8.0.3 - ruby-2.2.1 - OSX 10.10.5
我今天遇到了同样的问题,原因是C没有运行的权限。所以尝试在终端中运行 gcc,并同意运行,然后再次捆绑,你应该可以成功安装debase。
我为此奋斗了很多。
最终在应用程序的 gem 文件中添加了版本为 0.1.1 的 debase gem。