I saw new patches today regarding lua so I decided to compile vim with it.

I compile lua with:

make linux
make install INSTALL_TOP="$lua_location"

Then I configure linux with the following options:
--enable-luainterp=yes
--with-lua-prefix=$lua_location

configure runs fine and I can make vim all the way to the linking step at which 
point I get the error

/usr/bin/ld: cannot find -llua5.2

if I manually edit the linking command 
gcc   -L.  -rdynamic -Wl,-export-dynamic  -Wl,-E 
-Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE   
-L/usr/local/lib -Wl,--as-needed ...

and replace -llua5.2 by -llua it compiles and runs fine.

-- 
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

Raspunde prin e-mail lui