adding dynamic to lua interpreter compile flag

Asked by llslim

Can the '--enable-luainterp' configuration flag in the debian/rules file be change to '--enable-luainterp=dynamic'? As instructed in this 2013 message:. http://lua.2524044.n2.nabble.com/Problems-with-Lua-in-Vim-tp7654458p7654461.html .

The current version of lua in Ubuntu repo is 5.2.

without this change VIM plugins using lua like neocomplete will not run and the annoying message of needing vim greater than 7.3.885 with lua. Furthermore this command with in vim ":lua print('hello')" would return a linking error: "vim e370 could not load library libluajit-5.1.so.2".

I downloaded the vim source using 'apt-get source', made the changes to the configuration flag, and rebuilt the vim deb files locally using dpkg-buildpackage. After installing the package lua works as expected in vim. How do I contribute this simple configuration flag upstream?

I run Ubuntu 14.04 trusty.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu vim Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I suggest you create a bug report to get the attention of the developers.

Revision history for this message
llslim (llslim) said :
#2

Is there a protocol on how to submit a bug report? Like downloading the
latest source and creating a diff of my proposed changes? If so where can I
find the instructions on getting the appropriate source to make changes
against? Or is the text of my question good enough for a useful bug report?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

There is a whole packaging guide for Ubuntu http://packaging.ubuntu.com/html/index.html

If you are able to provide a diff (debdiff) it is good, but if you can describe the problem (and proposed solution) in a way that the developers will understand, so that they can do the required modifications, this is fine, too.

Can you help with this problem?

Provide an answer of your own, or ask llslim for more information if necessary.

To post a message you must log in.