RVM requirements error

谁都会走 提交于 2019-12-12 09:57:18

问题


I have OS X Mavericks installed and I'm trying to run rvm requirements in terminal and it gives me this error.

Installing required packages: autoconf, automake, libtool, pkgconfig, libyaml, libffi, readline, libksba, curl-ca-bundle, gdbm............. Error running 'requirements_osx_port_libs_install autoconf automake libtool pkgconfig libyaml libffi readline libksba curl-ca-bundle gdbm', please read /Users/Alex/.rvm/log/ruby-1.9.3-p448/1374263757_package_install_autoconf_automake_libtool_pkgconfig_libyaml_libffi_readline_libksba_curl-ca-bundle_gdbm.log Requirements installation failed with status: 1.


回答1:


It looks like RVM tried to install some dependencies using Macports and Macports proceeded to get really confused about dependencies when it tried to install autoconf.

Try running:

brew install autoconf

Otherwise you should run this bash script:

https://gist.github.com/siraj/1399288

Assuming you have brew, which you should if you don't.

If your Macports just isn't working, then you can manually install all of the requirements like this:

brew install autoconf automake libtool pkgconfig libyaml libffi readline libksba curl-ca-bundle gdbm



回答2:


I tried the above, and a few other things. None worked.

It seems that on OSX 10.9 and XCode5 moved some libs around on us. So I had to install XCode5-DP6 (Dev Preview 6), opened up DP6 and in the settings, you have to tell the command line tools to use the new DP6 build and not the Standard XCode from the marketplace.

First, I had to install homebrew. Nothing liked to play with macports. I am on my first mac as of only a month ago, so macports was just what solved apache for me at the time. I then had to run 'brew install autoconf'

Once I did that I then ran rvm requirements, everything installed without issue. then sudo gem install jekyll from there and it all works like a charm now.

I'm sure once Mavericks is actually released this will get ironed out. We are using early releases after all...

Hope this works for you guys.



来源:https://stackoverflow.com/questions/17754806/rvm-requirements-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!