ruby on rails - configure: error: clang version 3.0 or later is required and I already have it -


i'm trying follow this rvm installation guide, supposedly snow leopard 10.6.8 (i should point out $ rvm -v returns -bash: rvm: command not found), when run $ curl -l https://get.rvm.io | bash -s stable --auto-dotfiles --autolibs=enable --rails ends in this

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 exists config.sub 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 exec 'cc1': execvp: no such file or directory i686-apple-darwin10-gcc-4.2.1: error trying exec 'cc1': execvp: no such file or directory configure: error: clang version 3.0 or later required there has been error while running configure. halting installation. 

then ran

$ clang /usr/bin/clang $ clang -v apple clang version 3.0 (tags/apple/clang-211.10.1) (based on llvm 3.0svn) target: x86_64-apple-darwin10.8.0 thread model: posix 

i keep getting same error message when try install rvm, after restarting. there's weird fact target 10.8.0 , not addressed in guide, need actual this. updating os isn't option please don't bring up.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -