Last active
December 24, 2015 05:09
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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".