天天看點

用rvm安裝ruby錯誤

用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:

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

Requirements installation failed with status: 1.

最好的解決方法,用CD光牒或安裝包,安裝對于缺少的包。

避免沒有安裝依賴的包

下一篇: 開源項目

繼續閱讀