Page 1 of 1

VLC compile on mac can't find lua 5.3

Posted: 17 Mar 2020 23:44
by EP99
Getting the following error when building VLC 3.0.8 on mac against lua 5.3.5 --NOTE I've installed the most current lua binary

Code: Select all

checking for lua5.2... no configure: WARNING: No package 'lua5.2' found, trying lua 5.1 instead checking for lua5.1... no configure: WARNING: No package 'lua5.1' found, trying lua >= 5.1 instead checking for lua >= 5.1... no configure: WARNING: No package 'lua' found, trying manual detection instead checking lua.h usability... no checking lua.h presence... no checking for lua.h... no checking lauxlib.h usability... no checking lauxlib.h presence... no checking for lauxlib.h... no checking lualib.h usability... no checking lualib.h presence... no checking for lualib.h... no checking for luaL_newstate in -llua5.2 ... no checking for luaL_newstate in -llua5.1 ... no checking for luaL_newstate in -llua51 ... no checking for luaL_newstate in -llua ... no configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
HOW or CAN can configure the build to use 5.3.5? Thank you.

Note as mentioned in other posts -- 4.0-dev compiles easily but we are trying to build a 3.0.8 on a mac for testing purposes. Thanks.

Re: VLC compile on mac can't find lua 5.3

Posted: 21 Mar 2020 20:36
by dfuhrmann
Use the lua version to be compiled in extras/contrib, this definitey works and ist the most easy option.