Wireshark mailing list archives

build wireshrk with lua5.2.4 source code :no luaL_openlibs


From: "????D??????" <potatofaker () foxmail com>
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 ??????????
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: