ubuntu - 我需要做什么才能使用存储库中的 ruby​​-full 包在 ubuntu 10.04 上运行 ruby​​-debug19?

标签 ubuntu ruby-debug

我刚刚从存储库安装了最新的 ubuntu 版本和 ruby​​-full 包。此外,我安装了 ruby​​gems (1.3.7) 并尝试按照 http://wiki.github.com/mark-moseley/ruby-debug/installation-command-line-version 中所述执行 gem1.9.1 install ruby​​-debug1.9
但无论我做什么,我都无法安装 gem。安装终止于:

构建原生扩展。这可能需要一段时间...
错误:安装 ruby​​-debug19 时出错:
错误:无法构建 gem 原生扩展。

/usr/bin/ruby1.9.1 extconf.rb
* extconf.rb 失败 *
由于某种原因无法创建 Makefile,可能缺少
必要的库和/或头文件。查看 mkmf.log 文件了解更多信息
细节。您可能需要配置选项。

提供的配置选项:
--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
--没有-make-prog
--srcdir=。
--curdir
--ruby=/usr/bin/ruby1.9.1
extconf.rb:2:in require': no such file to load -- ruby_core_source (LoadError) from extconf.rb:2:in '

Gem 文件将继续安装在/usr/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11 以供检查。
结果记录到/usr/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/trace_nums/gem_make.out

但是安装 ruby​​_core_source gem 并没有改变任何东西。安装 gem 需要什么?

最佳答案

先安装 ruby​​-debug19:

sudo gem install ruby-debug19

关于ubuntu - 我需要做什么才能使用存储库中的 ruby​​-full 包在 ubuntu 10.04 上运行 ruby​​-debug19?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3551280/

相关文章:

ruby-on-rails - 使用 Textmate 调试 Rails 应用程序

ruby-on-rails - 在 Heroku 上运行 ruby​​-debug

r - R中的pdftools在不同机器上的表现不同

eclipse - eclipse不必要的崩溃的原因

c++ - 在 Linux 中快速运行 Armadillo C++ 库 - Ubuntu

csv - Logstash管道中止

ruby-debug - 错误 : installing ruby-debug-ide

node.js - 如何设置 Node.js 和 Express(MERN 堆栈)

linux - 使用#!bin/sh shell 脚本监视文件夹中的新文件,如果有,则触发另一个 shell 脚本