码迷,mamicode.com
首页 > 其他好文 > 详细

用rvm安装ruby错误

时间:2014-05-14 16:42:26      阅读:620      评论:0      收藏:0      [点我收藏+]

标签:available   following   depend   

用rvm安装ruby错误

缺少对于的库文件

[root@localhost ~]# rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: redhat/6/i386/ruby-2.0.0-p451.
Continuing with compilation. Please read ‘rvm help mount‘ to get more information on binary rubies.
Checking requirements for redhat.

Skipping installation of ‘libffi-devel‘, in case you depend on FFI reinstall your ruby after following this instructions:
https://gist.github.com/rderoldan1/5920539

Installing requirements for redhat.
Updating system.
Installing required packages: autoconf, gcc-c++, readline-devel, zlib-devel, openssl-devel, automake, libtool, bison...
Error running ‘requirements_centos_libs_install autoconf gcc-c++ readline-devel zlib-devel openssl-devel automake libtool bison‘,
showing last 15 lines of /usr/local/rvm/log/1399957380_ruby-2.0.0-p451/package_install_autoconf_gcc-c++_readline-devel_zlib-devel_openssl-devel_automake_libtool_bison.log
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package autoconf available.
No package gcc-c++ available.
No package readline-devel available.
No package zlib-devel available.
No package openssl-devel available.
No package automake available.
No package libtool available.
No package bison available.
Error: Nothing to do
++ return 1
++ return 1
Requirements installation failed with status: 1.

 

最好的解决方法,用光盘或安装包,安装对于缺少的包。

避免没有安装依赖的包

用rvm安装ruby错误,布布扣,bubuko.com

用rvm安装ruby错误

标签:available   following   depend   

原文地址:http://edmbest.blog.51cto.com/8842533/1410693

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!