I'm seeing a similar failure when trying to install Ruby 2.0.0 with RVM. Here's a gist of the RVM install command I'm running and the error output to the make.log
the latest version of rvm get head solves this problem by switching to clang => gcc -v | grep -i llvm && export CC=clang - only on OSX, does not make any troubles on other platforms.
the latest version of rvm get head solves this problem by switching to clang => gcc -v | grep -i llvm && export CC=clang - only on OSX, does not make any troubles on other platforms.
Thanks!
I'm closing this issue, but will reopen if anyone has troubles (in which case please provide logs like nstoker did)
I was using this trick in rvm for some time to avoid the LLVM gcc errors, maybe ruby could adopt it in ./configure => gcc -v | grep -i llvm && export CC=clang
I was using this trick in rvm for some time to avoid the LLVM gcc errors, maybe ruby could adopt it in ./configure => gcc -v | grep -i llvm && export CC=clang
Ruby itself sets CC as clang, so it's not required unless rvm sets wrong CC.
=begin
I have just rechecked both with and without RVM and I can not reproduce this problem, make sure to update RVM: (({rvm get head})) - there are two things you could check:
(1) problem with compiler - check this https://github.com/wayneeseguin/rvm/issues/1660
(2) older homebrew libraries using different compilation settings, rvm has now improved code to update libraries which are outdated if you run (({rvm install 2.0.0 --autolibs=3}))
If none of those help could you please provide a log of: (({rvm install 2.0.0 --autolibs=3 --debug})) it will contain more details about the used commands.
=end