我在 Ubuntu 10.10 上运行最新的 RVM,并且我设法让大部分开发环境运行,除了 OpenSSL。
当我尝试安装软件包时,出现以下错误:
$ rvm package install openssl > error
ERROR: Error running 'tar zxf /home/ruby/.rvm/archives/openssl-0.9.8n.tar.gz -C
/home/ruby/.rvm/src', please read /home/ruby/.rvm/log/openssl/extract.log
ERROR: Error running './config -I/home/ruby/.rvm/usr/include -L/home/ruby/.rvm
/usr/lib
--prefix=/home/ruby/.rvm/usr zlib no-asm no-krb5 shared ', please read /home/ruby
/.rvm/log/openssl/configure.log
ERROR: Error running '/usr/bin/make ', please read /home/ruby/.rvm/log/openssl/make.log
ERROR: Error running '/usr/bin/make install', please read /home/ruby/.rvm/log/openssl
/make.install.log
当我通过 RVM 获取原始下载文件时,它似乎已损坏。所以,我下载并解压它~/.rvm/src/openssl0.9.8
,第一个错误消失了(错误运行tar zxf
),但我仍然得到其他错误。
编辑:如果有人关心的话,我的 Ruby 版本是:
$ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]