On Fri, May 18, 2018 at 9:45 AM, Kazunobu Kuriyama
<[email protected]> wrote:
> On Fri, May 18, 2018 at 5:58 AM Damien <[email protected]> wrote:
>>
>> Hi,
>>
>> Configure script doesn't like my Lua  because the binary is
>> named lua5.2 and it can't find the headers in "$INCLUDE/lua5.2/".
>>
>> I am not able to build if_lua without patching configure like that.
>
>
> If lua (I mean, that of a symbolic link to lua5.2) fails to work together
> with the configure script to spot the header files, fixing that failure
> would be better than letting the script accept arbitrary names, since,
> without that symbolic link, names such as lua5.2 would leave the interpreter
> of little use, in particular, when it is used non-interactively.
>
> If the purpose of renaming the binary is at most to build a Vim having the
> built-in Lua 5.2 interpreter, static linking is also a viable option, as it
> is a recommended way to use the library (
> https://www.lua.org/manual/5.2/readme.html ) and would set you free from
> management of multiple versions.
>
> Regards,
> Kazunobu

I compile a huge Vim with (among others) lua, and configure does not
complain, either because I use static linking, or because my distro
(openSUSE 42.3) has installed the following soft links:

/usr/bin/lua → /etc/alternatives/lua
/etc/alternatives/lua → /usr/bin/lua5.2

/usr/bin/lua5.2 is a 19008-byte file which according to "file
/usr/bin/lua5.2" is a 64-bit ELF executable, stripped.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui