Thursday, September 29, 2016

Re: How to anable lua for vim?

AM, <Meino.Cramer@gmx.de> wrote:

> Hi,
>
> To enable lua for vim I run configure as follows:
>
> ./configure --prefix=/usr/local --sysconfdir=/etc/vim --with-features=huge --with-luainterp=dynamic --with-lua-prefix=/usr/bin --enable-luainterp=yes --enable-pythoninterp
>
> . Vim compiles fine. But doing 'vim --version' produces (besides other
> output '-lua' instead of the exspected '+lua'.
>
> What did I wrong ?
>
> Thank you very much for any help in advance! :)
>
> Cheers,
> Meino

Probably you're missing the liblua dev package. Not sure which
OS or distribution you use, but on Ubuntu something like this
should install it:

$ sudo apt-get install liblua5.3-dev

Try "apt-cache search liblua" if you use Ubuntu to see what
versions of liblua are available.

Then:

$ cd vim
$ rm src/auto/config.cache
$ configure --enable-luainterp=yes --with-features=huge
$ make -j4
$ sudo make install

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: