Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] build wireshrk with lua5.2.4 source code :no luaL_openlibs

From: "????D??????" <potatofaker@xxxxxxxxxxx>
Date: Sun, 19 Nov 2017 14:39:30 +0800

Hello everyone:

       I??m working on wireshark 2.4.1 source code

 

       I??m already build lua 5.2.4 and install with these command

 

[root@iZ2zeenqm2q6ew0c2fw6guZ lua-5.2.4]# make install INSTALL_TOP=/usr

cd src && mkdir -p /usr/bin /usr/include /usr/lib /usr/man/man1 /usr/share/lua/5.2 /usr/lib/lua/5.2

cd src && install -p -m 0755 lua luac /usr/bin

cd src && install -p -m 0644 lua.h luaconf.h lualib.h lauxlib.h lua.hpp /usr/include

cd src && install -p -m 0644 liblua.a /usr/lib

cd doc && install -p -m 0644 lua.1 luac.1 /usr/man/man1

 

 

       When I building wireshrk source code use ?Cwith-lua it show me the error message :

 

checking for library containing luaL_openlibs... no

configure: error: Lua support was requested, but is not available

 

       but I find the luaL_openlibs function in lualib.h

 

/* open all previous libraries */

LUALIB_API void (luaL_openlibs) (lua_State *L);

 

       And I use yum install lua-devel to fix these problem.but I want to know why I can not build wireshark with lua source code.

 

Any one can help me ?

 

?????? Windows 10 ??????????