RVM安装问题-无法执行端口(autoconf) [英] RVM install issue - Unable to execute port (autoconf)

查看:184
本文介绍了RVM安装问题-无法执行端口(autoconf)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在OSX山狮上安装Jekyll.首先,我想安装RVM,然后安装最新的ruby.但是,RVM安装失败,我无法解决问题.任何帮助表示赞赏

这是我所做的:

  • 已安装的OSX命令行工具
  • 尝试安装RVM(\curl -L https://get.rvm.io | bash -s stable --ruby),但失败,并在日志中显示错误错误:请安装Xcode和/或运行xcode-select以指定其位置."
  • 安装了XCode以查看是否有帮助(现在意识到我可以使用xcode-select哦)
  • 尝试再次安装RVM,但再次失败,请参见下面的错误

安装输出的最后几行包括错误:

安装必需的软件包:autoconf,automake,libtool,pkgconfig,apple-gcc42,libiconv,libyaml,libffi,readline,libxml2,libxslt,libksba,openssl,curl-ca-bundle,sqlite3,zlib,gdbm,ncurses.

运行'requirements_osx_port_libs_install autoconf automake libtool pkgconfig apple-gcc42 libiconv libyaml libffi readline libxml2 libxslt libksba openssl curl-ca-bundle sqlite3 zlib gdbm ncurses'时出错, 请阅读/Users/xxx/.rvm/log/1371125385_package_install_autoconf_automake_libtool_pkgconfig_apple-gcc42_libiconv_libyaml_libffi_readline_libxml2_libxslt_libksba_openssl_curl-ca-bundle_sqlite3_zlib_gdbm_ncurses.

我打开了错误日志,它指出:

错误:无法执行端口:无法打开文件:/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/autoconf/Portfile

这对其他人来说可能很明显,但是坦率地说,我不确定该怎么做!

解决方案

安装自制软件,然后运行rvm autolibs brew,然后rvm requirements解决了我的问题.然后,我成功地安装了最新的红宝石(rvm install 2.0.0-p195).

仍然认为这很有趣,我已经安装Xcode,rvm,自制软件和ruby只是为了建立一个静态html网站:-)

I'm trying to install Jekyll on OSX mountain lion. First of all I wanted to install RVM and then the latest ruby. However, the RVM install is failing and I can't solve the problem. Any help appreciated

Here is what I did:

  • Installed OSX Command Line Tools
  • Attempted to install RVM (\curl -L https://get.rvm.io | bash -s stable --ruby) but it failed with an error in the log "Error: Please install Xcode and/or run xcode-select to specify its location."
  • Installed XCode to see if that would help (realise now I could have used xcode-select oh well)
  • Attempted to install RVM again but it failed again, see error below

Last lines of install output including error:

Installing required packages: autoconf, automake, libtool, pkgconfig, apple-gcc42, libiconv, libyaml, libffi, readline, libxml2, libxslt, libksba, openssl, curl-ca-bundle, sqlite3, zlib, gdbm, ncurses...

Error running 'requirements_osx_port_libs_install autoconf automake libtool pkgconfig apple-gcc42 libiconv libyaml libffi readline libxml2 libxslt libksba openssl curl-ca-bundle sqlite3 zlib gdbm ncurses', please read /Users/xxx/.rvm/log/1371125385_package_install_autoconf_automake_libtool_pkgconfig_apple-gcc42_libiconv_libyaml_libffi_readline_libxml2_libxslt_libksba_openssl_curl-ca-bundle_sqlite3_zlib_gdbm_ncurses.log

I opened the error log and it states:

Error: Unable to execute port: Could not open file: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/autoconf/Portfile

This is probably obvious to someone else but frankly I'm not sure what I'm supposed to do to fix it!

解决方案

Installing homebrew and then running rvm autolibs brew, then rvm requirements fixed my problem. I was then successfully able to install the latest ruby (rvm install 2.0.0-p195).

Still think it's hilarious I've installed Xcode, rvm, homebrew and ruby just to build a static html site :-)

这篇关于RVM安装问题-无法执行端口(autoconf)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆