【问题标题】:Passenger installation error with Ruby under Debian squeezeDebian挤压下Ruby的乘客安装错误
【发布时间】:2011-11-28 22:30:31
【问题描述】:

我正在尝试安装乘客:

gem1.8 安装乘客

但我得到了错误:

构建原生扩展。这可能需要一段时间... 错误:错误 安装乘客:错误:无法构建 gem 原生扩展。

    /usr/bin/ruby1.8 extconf.rb extconf.rb:8:in `require': no such

要加载的文件——来自 extconf.rb:8 的 mkmf (LoadError)

Gem 文件将继续安装在 /usr/lib/ruby/gems/1.8/gems/fastthread-1.0.7 用于检查。结果 登录到 /usr/lib/ruby/gems/1.8/gems/fastthread-1.0.7/ext/fastthread/gem_make.out

所以现在我被告知要安装 ruby​​1.8-dev 但我有 一个依赖:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ruby1.8-dev : Depends: libc6-dev but it is not going to be installed
E: Broken packages

所以我尝试安装它们并得到:

The following packages have unmet dependencies:
 libc6-dev : Depends: libc6 (= 2.7-18lenny7) but 2.11.2-10 is to be installed

所以最后我尝试安装发出命令:

apt-get install ruby1.8-dev libc6-dev libc6

但我得到同样的错误。我也试过“apt-get -f” 我需要做什么?

【问题讨论】:

    标签: ruby linux debian passenger


    【解决方案1】:

    我想你可能会错过这个:

    sudo apt-get install build-essential

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多