Guest User

Untitled

a guest
Jan 21st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`.
  2.  
  3. rvm requirements
  4.  
  5. Right now Ruby requires gcc to compile, but Xcode 4.2 and later no longer ship with gcc. Instead they ship with llvm-gcc (to which gcc is a symlink) and clang, neither of which are supported for building Ruby. Xcode 4.1 was the last version to ship gcc, which was /usr/bin/gcc-4.2.
  6.  
  7. Xcode 4.1 and earlier:
  8. - Ruby will build fine.
  9.  
  10. Xcode 4.2 and later (including Command Line Tools for Xcode):
  11. - If you have gcc-4.2 (and friends) from an earlier Xcode version, Ruby will build fine.
  12. - If you don't have gcc-4.2, you have two options to get it:
  13. * Install apple-gcc42 from Homebrew
  14. * Install osx-gcc-installer
  15.  
  16. Homebrew:
  17. If you are using Homebrew, you can install the apple-gcc42 and required libraries from homebrew/dupes:
  18. brew update
  19. brew tap homebrew/dupes
  20. brew install autoconf automake apple-gcc42
  21. rvm pkg install openssl
  22.  
  23. This can live side by side with an existing Xcode 4.2+ install or Command Line Tools for Xcode.
  24.  
  25. brew update
  26. brew tap homebrew/dupes
  27. brew install autoconf automake apple-gcc42
  28.  
  29. Warning: Could not link apple-gcc42. Unlinking...
  30. Error: The `brew link` step did not complete successfully
  31. The formula built, but is not symlinked into /usr/local
  32. You can try again using `brew link apple-gcc42'
  33. ==> Summary
  34. /usr/local/Cellar/apple-gcc42/4.2.1-5666.3: 104 files, 75M, built in 23 seconds
  35. kanitw:shell.venturelab.com kanitw$ brew link apple-gcc42
  36. Linking /usr/local/Cellar/apple-gcc42/4.2.1-5666.3... Warning: Could not link apple-gcc42. Unlinking...
  37. Error: Could not symlink file: /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/include/gcc
  38. /usr/local/include is not writable. You should change its permissions.
Add Comment
Please, Sign In to add comment