用rvm安装ruby错误
用rvm安装ruby错误
缺少对于的库文件
[root@localhost~]#rvminstall2.0.0
Searchingforbinaryrubies,thismighttakesometime.
Nobinaryrubiesavailablefor:redhat/6/i386/ruby-2.0.0-p451.
Continuingwithcompilation.Pleaseread'rvmhelpmount'togetmoreinformationonbinaryrubies.
Checkingrequirementsforredhat.
Skippinginstallationof'libffi-devel',incaseyoudependonFFIreinstallyourrubyafterfollowingthisinstructions:
https://gist.github.com/rderoldan1/5920539
Installingrequirementsforredhat.
Updatingsystem.
Installingrequiredpackages:autoconf,gcc-c++,readline-devel,zlib-devel,openssl-devel,automake,libtool,bison...
Errorrunning'requirements_centos_libs_installautoconfgcc-c++readline-develzlib-developenssl-develautomakelibtoolbison',
showinglast15linesof/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
Loadedplugins:refresh-packagekit,rhnplugin
ThissystemisnotregisteredwithRHN.
RHNsupportwillbedisabled.
SettingupInstallProcess
Nopackageautoconfavailable.
Nopackagegcc-c++available.
Nopackagereadline-develavailable.
Nopackagezlib-develavailable.
Nopackageopenssl-develavailable.
Nopackageautomakeavailable.
Nopackagelibtoolavailable.
Nopackagebisonavailable.
Error:Nothingtodo
++return1
++return1
Requirementsinstallationfailedwithstatus:1.
最好的解决方法,用光盘或安装包,安装对于缺少的包。
避免没有安装依赖的包
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。