溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

用rvm安裝ruby錯誤

發(fā)布時間:2020-05-30 09:52:19 來源:網(wǎng)絡(luò) 閱讀:2914 作者:edmBest 欄目:編程語言

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

 

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

避免沒有安裝依賴的包

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI