Skip to content

Instantly share code, notes, and snippets.

@adonis0147
Last active March 24, 2016 09:50
Show Gist options
  • Save adonis0147/f89c14ddc8012fd14510 to your computer and use it in GitHub Desktop.
Save adonis0147/f89c14ddc8012fd14510 to your computer and use it in GitHub Desktop.
build Vim on MSYS2
#!/bin/bash
pacman -S ncurses-devel python2
ln -s /usr/bin/python2.exe /usr/bin/python
wget http://www.lua.org/ftp/lua-5.3.2.tar.gz
tar -zxvf lua-5.3.2.tar.gz
cd lua-5.3.2
make mingw
make install INSTALL_TOP=/usr/local TO_BIN="lua.exe luac.exe lua53.dll"
cd ..
./configure --prefix=/opt/vim \
--with-tlib=ncursesw \
--enable-luainterp \
--with-lua-prefix=/usr/local \
--disable-gui \
--disable-tclinterp \
--enable-cscope \
--without-x \
CPPFLAGS="${CPPFLAGS} -I/usr/include/ncursesw" \
--enable-pythoninterp=dynamic \
--enable-multibyte && make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment