Skip to content

Instantly share code, notes, and snippets.

@krzysdb
Created October 2, 2019 19:25
Show Gist options
  • Save krzysdb/c7a08b5d6a12662fbe679a7f1ef452e6 to your computer and use it in GitHub Desktop.
Save krzysdb/c7a08b5d6a12662fbe679a7f1ef452e6 to your computer and use it in GitHub Desktop.
Legacy readline 7.0 installation log
[USERNAME] Formula:$ brew reinstall readline
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
==> Reinstalling readline
Warning: Your Xcode (7.3.1) is outdated.
Please update to Xcode 8.2.1 (or delete it).
Xcode can be updated from the App Store.
==> Downloading https://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz
Already downloaded: /Users/USERNAME/Library/Caches/Homebrew/downloads/3efa4f3e86cf16f188dc7b581fb9c893773325c8e78806f3be7b979a14e2e7b8--readline-7.0.tar.gz
==> Downloading https://ftp.gnu.org/gnu/readline/readline-7.0-patches/readline70-001
Already downloaded: /Users/USERNAME/Library/Caches/Homebrew/downloads/8b9fdb5b7d957c8fcc7371159fba70cf3a10db4b29c5fab8eda84d7e3cc1034a--readline70-001
==> Downloading https://ftp.gnu.org/gnu/readline/readline-7.0-patches/readline70-002
Already downloaded: /Users/USERNAME/Library/Caches/Homebrew/downloads/1eb61147f1bc9bff3838720641389af32ce28a6ed1cf5aaa89e25859f223c1cf--readline70-002
==> Downloading https://ftp.gnu.org/gnu/readline/readline-7.0-patches/readline70-003
Already downloaded: /Users/USERNAME/Library/Caches/Homebrew/downloads/b226318ad52aa5a9f0a2c7034b6569b51236ccb3903aa2154a24bc252f7f66fc--readline70-003
==> Downloading https://ftp.gnu.org/gnu/readline/readline-7.0-patches/readline70-004
Already downloaded: /Users/USERNAME/Library/Caches/Homebrew/downloads/62ca2f232ad4cca34da7c1e78ed796abeed0a9c881c4159cfc0adc7120dead74--readline70-004
==> Downloading https://ftp.gnu.org/gnu/readline/readline-7.0-patches/readline70-005
Already downloaded: /Users/USERNAME/Library/Caches/Homebrew/downloads/5d62e790013b5a54f69fe843be026a3d2f5859d1ef38f294c4f035b900011711--readline70-005
==> Patching
==> Applying readline70-001
patching file history.c
patching file patchlevel
==> Applying readline70-002
patching file history.c
patching file patchlevel
==> Applying readline70-003
patching file input.c
patching file patchlevel
==> Applying readline70-004
patching file display.c
patching file patchlevel
==> Applying readline70-005
patching file readline.c
patching file patchlevel
==> ./configure --prefix=/usr/local/Cellar/readline/7.0.1
==> make install
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
For compilers to find readline you may need to set:
export LDFLAGS="-L/usr/local/opt/readline/lib"
export CPPFLAGS="-I/usr/local/opt/readline/include"
==> Summary
🍺 /usr/local/Cellar/readline/7.0.1: 46 files, 1.5MB, built in 28 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment