fork download
  1. Richards-MacBook-Pro:kr richard$ brew install bash
  2. Updating Homebrew...
  3. ==> Installing dependencies for bash: readline
  4. ==> Installing bash dependency: readline
  5. ==> Using the sandbox
  6. ==> Downloading https://f...content-available-to-author-only...u.org/readline/readline-7.0.tar.gz
  7. ==> Downloading from http://f...content-available-to-author-only...t.ie/mirrors/gnu/readline/readline-7.0.tar.gz
  8. ######################################################################## 100.0%
  9. ==> ./configure --prefix=/usr/local/Cellar/readline/7.0 --enable-multibyte
  10. ==> make install
  11. Error: Failed to create /usr/local/opt/readline
  12. Things that depend on readline will probably not build.
  13. Could not symlink .
  14. /usr/local/opt is not writable.
  15. ==> Caveats
  16. This formula is keg-only, which means it was not symlinked into /usr/local.
  17.  
  18. macOS provides the BSD libedit library, which shadows libreadline.
  19. In order to prevent conflicts when programs look for libreadline we are
  20. defaulting this GNU Readline installation to keg-only.
  21.  
  22.  
  23. Generally there are no consequences of this for you. If you build your
  24. own software and it requires this formula, you'll need to add to your
  25. build variables:
  26.  
  27. LDFLAGS: -L/usr/local/opt/readline/lib
  28. CPPFLAGS: -I/usr/local/opt/readline/include
  29.  
  30. ==> Summary
  31. 🍺 /usr/local/Cellar/readline/7.0: 46 files, 2.2M, built in 3 minutes 9 seconds
  32. ==> Installing bash
  33. Error: /usr/local/opt/readline not present or broken
  34. Please reinstall readline. Sorry :(
  35. Richards-MacBook-Pro:kr richard$ sudo brew install bash
  36. Password:
  37. Error: Running Homebrew as root is extremely dangerous and no longer supported.
  38. As Homebrew does not drop privileges on installation you would be giving all
  39. build scripts full access to your system.
  40. Richards-MacBook-Pro:kr richard$
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty