Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: [Wireshark-users] Lua compile problems

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Piers Kittel <mailing@xxxxxxxxxx>
Date: Mon, 09 Jul 2007 16:09:22 +0100

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

  • Follow-Ups:
    • Re: [Wireshark-users] Lua compile problems
      • From: Luis EG Ontanon
    • Re: [Wireshark-users] Lua compile problems
      • From: Jaap Keuter
    • Re: [Wireshark-users] Lua compile problems
      • From: Sebastien Tandel
  • Prev by Date: [Wireshark-users] Wireshark 0.99.6 symbol lookup error Fails to run.
  • Next by Date: [Wireshark-users] cant install wireshark on SPARC Solaris
  • Previous by thread: Re: [Wireshark-users] Wireshark 0.99.6 symbol lookup error Fails to run.
  • Next by thread: Re: [Wireshark-users] Lua compile problems
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation