This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to configure a build with Lua

0

Thanks for your answer. So, I am trying to build Wireshark from source, but I have a problem with the Lua version:

./configure --with-lua

<snip> checking for LUA… no checking for the location of lua.h… /usr/include checking the Lua version… 5.3 - disabling Lua support configure: error: Lua support was requested, but is not available

Do I need to replace my Lua install with a version <5.3?

If yes, how can I do that?

asked 16 Aug ‘16, 03:43

DavidA_2015's gravatar image

DavidA_2015
11669
accept rate: 50%

edited 16 Aug ‘16, 05:10

grahamb's gravatar image

grahamb ♦
19.8k330206

Your comment has been converted to a question as that’s how this site works. Please read the FAQ for more information.

(16 Aug ‘16, 04:47) Jaap ♦


2 Answers:

0

I succeeded in building Wireshark 2.0.5 with Lua 5.3 by installing patch:

http://www.linuxfromscratch.org/patches/blfs/svn/wireshark-2.0.5-lua_5_3_1-1.patch

mentioned here:

http://www.linuxfromscratch.org/blfs/view/svn/basicnet/wireshark.html

using:

patch -p1 < wireshark-2.0.5-lua_5_3_1-1.patch

and then invoking:

./configure --with-lua

answered 16 Aug '16, 07:04

DavidA_2015's gravatar image

DavidA_2015
11669
accept rate: 50%

0

Yes LUA 5.3 is not supported check if there is a package for LUA 5.2 available for your system sudo zypper se lua

answered 16 Aug '16, 05:28

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%