Skip to content

Instantly share code, notes, and snippets.

@petecheslock
Last active December 3, 2015 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petecheslock/035eab5936218ee94c12 to your computer and use it in GitHub Desktop.
Save petecheslock/035eab5936218ee94c12 to your computer and use it in GitHub Desktop.
petecheslock@m  ~  brew install vim --with-lua
Warning: vim-7.4.944 already installed, it's just not linked
petecheslock@m  ~  brew uninstall vim
Uninstalling /usr/local/Cellar/vim/7.4.944... (1620 files, 26M)
vim 7.4.826 is still installed.
Remove them all with `brew uninstall --force vim`.
petecheslock@m  ~  brew uninstall --force vim
Uninstalling vim... (1612 files, 26M)
petecheslock@m  ~  brew
✘ petecheslock@m  ~  which vim
vim not found
✘ petecheslock@m  ~  brew install vim --with-lua
==> Downloading https://github.com/vim/vim/archive/v7.4.944.tar.gz
Already downloaded: /Library/Caches/Homebrew/vim-7.4.944.tar.gz
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/7.4.944/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --with-features=huge --with-compiledby=Homebrew --enable-luainterp -
Last 15 lines from /Users/petecheslock/Library/Logs/Homebrew/vim/01.configure:
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... yes
checking for dev_t... yes
checking whether byte ordering is bigendian... no
checking for rlim_t... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... ncurses
checking for linking with ncurses library... OK
checking for tgetent()... configure: error: NOT FOUND!
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
READ THIS: https://git.io/brew-troubleshooting
These open issues may also help:
vim 7.4.488 build fails if Homebrew ruby is installed but /usr/bin/ruby comes first in PATH https://github.com/Homebrew/homebrew/issues/33705
✘ petecheslock@m  ~  echo $PATH
/opt/chefdk/bin:/Users/petecheslock/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/embedded/bin:/Users/petecheslock/repos/chef-repo/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/chefdk/bin:/Users/petecheslock/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/embedded/bin:/Users/petecheslock/repos/chef-repo/bin:/usr/local/sbin
petecheslock@m  ~  export PATH=/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
petecheslock@m  ~  echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
Then brew install vim will work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment