Wireshark-users: Re: [Wireshark-users] Lua compile problems
From: "Luis EG Ontanon" <luis.ontanon@xxxxxxxxx>
Date: Mon, 9 Jul 2007 17:52:46 +0200
if you use --with-lua=$DIR check that $DIR/include/lua.h is there and that $DIR/lib/liblua.a is there as well. hint$ find /usr/ -name '*lua.*' L On 7/9/07, Piers Kittel <mailing@xxxxxxxxxx> wrote:
Guy,
Thanks so much for your quick reply!
> Lua is an interpretive language with an interpreter that's somewhat
> compact and embeddable. Wireshark can be built with Lua support - the
> Windows version we distribute is, I think, and other binary versions
> (various Linux and BSD packages, etc.) might be built with it either.
Hmm, the version I had with my distro (Debian Etch) was 0.99.4 but still didn't have Lua built in. So I downloaded the latest version from the website, 0.99.6, and configured it with Lua support. Here's the command I used:
piers@akane:~/src/wireshark-0.99.6$ ./configure --with-lua=/usr/include/lua5.1/
Then the final result was:
The Wireshark package has been configured with the following options.
Build wireshark : yes
Build tshark : yes
Build capinfos : yes
Build editcap : yes
Build dumpcap : yes
Build mergecap : yes
Build text2pcap : yes
Build idl2wrs : yes
Build randpkt : yes
Build dftest : yes
Install setuid : no
Use plugins : yes
Build lua plugin : yes
Build rtp_player : no
Use GTK+ v2 library : yes
Use threads : no
Build profile binaries : no
Use pcap library : yes
Use zlib library : yes
Use pcre library : no
Use kerberos library : no
Use GNU ADNS library : no
Use GNU crypto library : no
Use SSL crypto library : no
Use IPv6 name resolution : yes
Use Net-SNMP library : no
Use gnutls library : no
But when I started off the compile, and it got to the Lua module, it exited fatally with the error snippet:
In file included from ./wslua_tvb.c:31:
./wslua.h:40:17: error: lua.h: No such file or directory
./wslua.h:41:20: error: lualib.h: No such file or directory
./wslua.h:42:21: error: lauxlib.h: No such file or directory
What am I doing wrong and how do I fix this please?
Thanks very much for your time in advance!
Regards - Piers
_______________________________________________
Wireshark-users mailing list
Wireshark-users@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-users
-- This information is top security. When you have read it, destroy yourself. -- Marshall McLuhan
- References:
- [Wireshark-users] Lua compile problems
- From: Piers Kittel
- [Wireshark-users] Lua compile problems
- Prev by Date: [Wireshark-users] cant install wireshark on SPARC Solaris
- Next by Date: Re: [Wireshark-users] Lua compile problems
- Previous by thread: [Wireshark-users] Lua compile problems
- Next by thread: Re: [Wireshark-users] Lua compile problems
- Index(es):