Tuesday, September 13, 2016

macOS Sierra: Installing Macvim with Lua

Command:

$ brew install macvim --with-lua


Result:

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
==> Installing dependencies for macvim: cscope
==> Installing macvim dependency: cscope
==> Downloading https://homebrew.bintray.com/bottles/cscope-15.8b.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cscope-15.8b.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/cscope/15.8b: 10 files, 714K
==> Installing macvim
==> Using the sandbox
==> Downloading https://github.com/macvim-dev/macvim/archive/snapshot-108.tar.gz
==> Downloading from https://codeload.github.com/macvim-dev/macvim/tar.gz/snapshot-108
######################################################################## 100.0%
==> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-rubyinterp --enable-tclinterp --with-tlib=ncurses --with-compiledby=Ho
==> make
==> Caveats
.app bundles were installed.
Run `brew linkapps macvim` to symlink these to /Applications.
==> Summary
🍺  /usr/local/Cellar/macvim/7.4-108: 2,099 files, 33.5M, built in 1 minute 47 seconds


Command:

$ mvim --version | grep lua


Result:

+dialog_con_gui  +lua             +rightleft       +writebackup
Linking: clang   -L. -L/usr/local/lib -L. -L/usr/local/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -framework CoreFoundation -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv -framework Cocoa  -L/usr/local/opt/lua/lib -llua -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -framework Python   -framework Ruby