[neomutt-users] Where is lua?

Pietro Cerutti gahr at gahr.ch
Wed Apr 11 09:38:18 CEST 2018


On Apr 11 18 04:23, tuxic at posteo.de wrote:
>Hi,
>
>trying to configure neomutt with lua-support:
>
>ls -l /usr/include/lua.h
>
>-rw-r--r-- 1 root root 11688 Jan 13  2012 /usr/include/lua.h
>
>./configure --lua --with-lua=/usr/include/.
>.
>Checking for DocBook DTDs...yes
>Checking for include/lua53/lua.h...no
>Checking for include/lua5.3/lua.h...no
>Checking for include/lua/lua.h...no
>Checking for include/lua.h...no
>Checking for include/lua52/lua.h...no
>Checking for include/lua5.2/lua.h...no
>Checking for include/lua/lua.h...no
>Checking for include/lua.h...no
>Error: Unable to find Lua
>
>
>./configure --lua --with-lua=/usr/include/lua.h
>.
>Checking for DocBook DTDs...yes
>Checking for include/lua53/lua.h...no
>Checking for include/lua5.3/lua.h...no
>Checking for include/lua/lua.h...no
>Checking for include/lua.h...no
>Checking for include/lua52/lua.h...no
>Checking for include/lua5.2/lua.h...no
>Checking for include/lua/lua.h...no
>Checking for include/lua.h...no
>Error: Unable to find Lua

On Apr 11 18 09:18, Floyd Anderson wrote:
>As you probably can see, autosetup configure script looks for Lua 5.3 
>and 5.2 (in that order) and that is what NeoMutt require. Looking at 
>your installed version 5.1.5-r4 should bring up the solution – you 
>have to unmask Lua 5.3 or Lua 5.2 (or both and using eselect to manage 
>your Lua slots in Gentoo).

Once you have a supported version installed, like Floyd pointed out, 
please try with the --lua argument alone.
The <path> in --with-lua=<path> is where autosetup looks for the 
include/ and lib/ directories. That would be /usr in your case, but /usr 
is the default prefix on linux anyway.

-- 
Pietro Cerutti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 890 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20180411/1f5c3cf7/attachment.sig>


More information about the neomutt-users mailing list