ruby 1.9.3-p286 debugger-linecache
程序员文章站
2022-07-15 11:44:02
...
update(05/13/2013)
rbenv:
解决方案:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/rharrington/.rvm/rubies/ruby-1.9.3-p286/bin/ruby extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
Makefile creation failed
**************************************************************************
No source for ruby-1.9.3-p286 provided with debugger-ruby_core_source gem.
**************************************************************************
*** 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=/home/rharrington/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
Gem files will remain installed in /home/rharrington/.rvm/gems/ruby-1.9.3-p286/gems/debugger-linecache-1.1.2 for inspection.
Results logged to /home/rharrington/.rvm/gems/ruby-1.9.3-p286/gems/debugger-linecache-1.1.2/ext/trace_nums/gem_make.out
An error occurred while installing debugger-linecache (1.1.2), and Bundler cannot continue.
Make sure that `gem install debugger-linecache -v '1.1.2'` succeeds before bundling.
解决方案:
详情,走传送门
rbenv:
解决方案:
gem install debugger-linecache -- --with-ruby-include=/home/user/.rbenv/versions/1.9.3-p392
gem install ruby-debug19 -- --with-ruby-include=/home/user/.rbenv/versions/1.9.3-p392
引用
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/rharrington/.rvm/rubies/ruby-1.9.3-p286/bin/ruby extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
Makefile creation failed
**************************************************************************
No source for ruby-1.9.3-p286 provided with debugger-ruby_core_source gem.
**************************************************************************
*** 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=/home/rharrington/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
Gem files will remain installed in /home/rharrington/.rvm/gems/ruby-1.9.3-p286/gems/debugger-linecache-1.1.2 for inspection.
Results logged to /home/rharrington/.rvm/gems/ruby-1.9.3-p286/gems/debugger-linecache-1.1.2/ext/trace_nums/gem_make.out
An error occurred while installing debugger-linecache (1.1.2), and Bundler cannot continue.
Make sure that `gem install debugger-linecache -v '1.1.2'` succeeds before bundling.
解决方案:
gem install debugger-linecache -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p286
详情,走传送门
上一篇: SSH PuTTy 上传下载及Linux类的VPS操作
下一篇: Ambiguous mapping found. Cannot map 'xxxController' bean method
推荐阅读
-
Ruby使用eventmachine为HTTP服务器添加文件下载功能
-
C#实现Ruby的负数索引器
-
Annyong 基于ruby的将本地目录变身 Web 服务器
-
HPB芯链汪晓明将出席Ruby峰会 与*同台分享Ruby开发经验
-
redis集群错误解决:/usr/lib/ruby/gems/1.8/gems/redis-3.0.0/lib/redis/client.rb:79:in `call': ERR Slot 15495 is already busy (Redis::CommandError)
-
使用Ruby脚本部署Redis Cluster集群步骤讲解
-
Ruby中遍历目录的简洁方法
-
ruby实现的文件自删除代码分享
-
Ruby、PHP、Shell实现求50以内的素数
-
Ruby中检测Gem是否安装的方法