touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #89274
[Bug 1474087] Re: Vim not running plugins using Lua
*** This bug is a duplicate of bug 1474086 ***
https://bugs.launchpad.net/bugs/1474086
** This bug has been marked a duplicate of bug 1474086
Vim not running plugins using Lua
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1474087
Title:
Vim not running plugins using Lua
Status in vim package in Ubuntu:
New
Bug description:
VIM plugins using Lua like neocomplete will not run and will give the
annoying message of "needing vim greater than 7.3.885 with lua". vim
--version tells that lua is enabled and thersion for Trusty is
7.4.052. Furthermore this command with in vim ":lua print('hello')"
would return the linking error: "vim e370 could not load library
libluajit-5.1.so.2".
As instructed in this 2013 message:. http://lua.2524044.n2.nabble.com
/Problems-with-Lua-in-Vim-tp7654458p7654461.html . Can the '--enable-
luainterp' configuration flag in the debian/rules file be change to
'--enable-luainterp=dynamic'? LibluaJIT is an Just in Time compiler
that is faster than the regular Lua Libraary. It requres the extra
compiler flag of --with-luajit.
To get the Lua interpreter working, here is what I am suggesting.
Change the lines in the debian/ file
OLD:
ALLINTERPFLAGS+=--enable-luainterp
New:
ALLINTERPFLAGS+=--enable-luainterp=dynamic
+ifneq ($(shell ldconfig -p | grep 'libluajit'),)
ALLINTERPFLAGS+=--with-luajit
endif
Hope this is clear and useful.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1474087/+subscriptions
References