Skip to content

Instantly share code, notes, and snippets.

@nojima
Last active January 2, 2016 10:59
Show Gist options
  • Save nojima/8293746 to your computer and use it in GitHub Desktop.
Save nojima/8293746 to your computer and use it in GitHub Desktop.
wget http://www.lua.org/ftp/lua-5.2.3.tar.gz
tar xvpf lua-5.2.3.tar.gz
mv lua-5.2.3 ~/opt/lua
cd ~/opt/lua
make linux
mkdir lib
mv src/liblua.a lib
mkdir include
cd include
for f in ../src/*.h ../src/*.hpp; do ln -s $f $(basename $f); done
cd ~/opt
hg clone https://vim.googlecode.com/hg/ vim
cd vim
./configure --prefix=$HOME/opt/vim --enable-luainterp=yes --with-lua-prefix=$HOME/opt/lua --with-features=huge --enable-fail-if-missing
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment