deepin使用rvm安装ruby出现make: *** [build-ext] Error 2错误

在deepin操作系统中使用rvm安装ruby时遇到make错误,通过检查make.log文件发现可能与openssl有关。尝试了网上找到的解决方案,包括重新安装和应用ssl补丁,但问题仍未解决。最终在github上找到一位用户提供的解决方法,成功解决了安装过程中出现的'build-ext'和"ossl_ssl.o"目标失败的问题,耗费了一上午的时间。
摘要由CSDN通过智能技术生成

ruby是很怪的东西,我之前也成功安装了几次,重新安装的deepin又无法安装,出现错误了,百撕不得骑姐!!啊啊啊!!

root@kelly-pc:~# rvm install 2.1.4
Searching for binary rubies, this might take some time.
No binary rubies available for: debian/8/x86_64/ruby-2.1.4.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for debian.
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.1.4, this may take a while depending on your cpu(s)...
ruby-2.1.4 - #downloading ruby-2.1.4, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
The requested url does not exist(22): 'http://ruby.taobao.org/mirrors/ruby/2.1/ruby-2.1.4.tar.bz2'
Checking fallback: http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11.4M  100 11.4M    0     0   231k      0  0:00:50  0:00:50 --:--:-- 86209
ruby-2.1.4 - #extracting ruby-2.1.4 to /usr/local/rvm/src/ruby-2.1.4....
ruby-2.1.4 - #configuring.....................................................
ruby-2.1.4 - #post-configuration..
ruby-2.1.4
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值