configure:错误:clang 3.0或更高版本是必需的,我已经拥有它

时间:2015-03-28 18:43:17

标签: ruby-on-rails ruby macos rvm

我试图关注this RVM installation guide,据说是针对Snow Leopard 10.6.8(我应该指出$ rvm -v会返回-bash: rvm: command not found),但是当我跑{{1}时它结束于此

$ curl -L https://get.rvm.io | bash -s stable --auto-dotfiles --autolibs=enable --rails
然后我跑了

Error running './configure --prefix=/Users/mac/.rvm/rubies/ruby-2.2.0 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --disable-install-doc --enable-shared',
showing last 15 lines of /Users/mac/.rvm/log/1427567557_ruby-2.2.0/configure.log
[2015-03-28 15:33:08] ./configure
current path: /Users/mac/.rvm/src/ruby-2.2.0
PATH=/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin/python:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/usr/X11/bin:/Users/mac/.rvm/bin
command(5): ./configure --prefix=/Users/mac/.rvm/rubies/ruby-2.2.0 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --disable-install-doc --enable-shared
config.guess already exists
config.sub already exists
checking build system type... i386-apple-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking target system type... i386-apple-darwin10.8.0
i686-apple-darwin10-gcc-4.2.1: error trying to exec 'cc1': execvp: No such file or directory
i686-apple-darwin10-gcc-4.2.1: error trying to exec 'cc1': execvp: No such file or directory
configure: error: clang version 3.0 or later is required
There has been an error while running configure. Halting the installation.

当我尝试安装RVM时,即使重新启动后,我也会收到相同的错误消息。显然有一些奇怪的事实是目标是10.8.0并且甚至没有在指南中解决,所以我真的需要实际的帮助。更新我的操作系统不是一个选项,所以请不要提起它。

0 个答案:

没有答案