Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Last active December 24, 2015 05:09
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save seyDoggy/6748245 to your computer and use it in GitHub Desktop.
Save seyDoggy/6748245 to your computer and use it in GitHub Desktop.
I was having trouble getting lua support while rolling my own vim 7.4 on ubuntu 13.04.
sudo apt-get install liblua5.1-dev
sudo mkdir /usr/include/lua5.1/include/
sudo cp /usr/include/lua5.1/* /usr/include/lua5.1/include/
sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/local/lib/liblua.so
hg clone https://code.google.com/p/vim/
cd vim
./configure --with-features=huge \
--enable-perlinterp \
--enable-rubyinterp \
--enable-pythoninterp=yes \
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
--enable-multibyte \
--enable-fontset \
--enable-gui=gtk2 \
--disable-netbeans \
--enable-luainterp=yes \
--with-lua-prefix=/usr/include/lua5.1 \
--enable-cscope \
--enable-largefile \
--prefix=/usr
make VIMRUNTIMEDIR=/usr/share/vim/vim74
sudo checkinstall
@JarenGlover
Copy link

Have you ran this for 14.04 and the latest version of the lua? The script is completing but the "-lua" is being displayed when I type ":version".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment