Created
August 28, 2017 13:52
-
-
Save mscalora/65558b0c6105723fcf3dc5af12d622e7 to your computer and use it in GitHub Desktop.
Steps to build nano on a modern macos system (in 2017)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Prerequisites | |
# | |
# * brew | |
# * xcode command line tools | |
# | |
### brew installs | |
brew install automake autoconf pkg-config gettext ncurses | |
### Add env vars - ~/.bashrc or ~/zshrc if you are a zsh user | |
export LDFLAGS='-L/usr/local/opt/ncurses/lib' | |
export CPPFLAGS='-I/usr/local/opt/ncurses/include' | |
### Add newer tools to path | |
export PATH=$PATH:/usr/local/opt/gettext/bin | |
export PATH=/usr/local/opt/texinfo/bin:$PATH | |
export PATH=/usr/local/opt/ncurses/bin:$PATH | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment