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

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

From: Sebastien Tandel <sebastien@xxxxxxxxx>
Date: Mon, 09 Jul 2007 16:41:01 -0300
Hi,

There is something wrong with the lua macro as the configure script
passes the lua test with "--with-lua=/usr/include" value but the
compilation will however fail.

I saw we could use pkg-config and at the first look, the macro is not
using it.

If I have the time this week, I'll check this one.
One question though : Can we imagine enabling lua option by default if
found on the system?


Regards,
Sebastien Tandel

Luis EG Ontanon wrote:
> can you try --with-lua=/usr/
> 
> On 7/9/07, Piers Kittel <mailing@xxxxxxxxxx> wrote:
>> Hello Jaap and Luis,
>>
>>> 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.*'
>>> You've forced the configure script into thinking it can build with Lua
>>> support. It can't until you install a package that provides
>>> liblua5.1-dev . In short: you need the Lua development package in order
>>> to build applications with Lua interpreter.
>> liblua5.1-dev is already installed:
>>
>> piers@akane:/usr/include/lua5.1$ ls
>> lauxlib.h  luaconf.h  lua.h  lua.hpp  lualib.h
>> piers@akane:/usr/include/lua5.1$
>>
>> and
>>
>> akane:/home/piers# dpkg -l | grep lua
>> ii  liblua5.1-0                      5.1.1-2                         Simple, extensible, embeddable programming l
>> ii  liblua5.1-0-dev                  5.1.1-2                         Simple, extensible, embeddable programming l
>> ii  liblua50                         5.0.3-2                         Main interpreter library for the Lua 5.0 pro
>> ii  liblualib50                      5.0.3-2                         Extension library for the Lua 5.0 programmin
>> ii  lua50                            5.0.3-2                         Small embeddable language with simple proced
>> akane:/home/piers#
>>
>> Thanks very much for your help again.
>>
>> Regards - Piers
>> _______________________________________________
>> Wireshark-users mailing list
>> Wireshark-users@xxxxxxxxxxxxx
>> http://www.wireshark.org/mailman/listinfo/wireshark-users
>>
> 
>