您好,登錄后才能下訂單哦!
用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.
最好的解決方法,用光盤或安裝包,安裝對于缺少的包。
避免沒有安裝依賴的包
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。