I'll have a look,
I guess, lua is quite platform independent, so it should be straight forward.
Best Regards,
Lars
Am 06.02.2006, 19:46 Uhr, schrieb LEGO <luis.ontanon@xxxxxxxxx>:
Hi List,
Good news:
In one or two weeks the Lua interface to ethereal will reach the
usability threshold. So I think is about time integrating it in the
windows build (As an optional plugin much like mate).
Bad News:
I do not have a windows build environment I can work on. So I'm
sure It will have to be someone else to do the job. (OK I could do a
trial and error job using the buildbot, but I don't have the fabric
for adventures like this anymore).
I been gathering some information about Lua binaries for windows:
In http://luaforge.net/frs/?group_id=110 you can find the one I
believe to be the AOC binary distribution of Lua, the problem is that
it is just that a binary distribution without even C headers. that is
unusable.
We can find a non AOC binary containing both .dll and .lib and headers
and .def and other stuff I did not even knew it existed in
http://phi.lho.free.fr/index_en.html#downloads but I not knowing if
they are just lua nor what's realy there so I deemed them
unappropriate. (They are most probably perfectly legitimate and clean,
I would bet 1K EUR on that, but I could not say it under oath)
So we are left with building the package ourselves (It's just clean
ANSI-C) and stuffing it in there.
In http://lua-users.org/wiki/BuildingLua there is an explanation on
how to build it
What we need to do is:
get the official distribution http://www.lua.org/ftp/lua-5.0.2.tar.gz
build lua-5.0.2/
so that we have:
lua-5.0.2/include
lua-5.0.2//lib
set up plugins/Makefile.nmake
write plugins/lua/Makefile.nmake so that statically links against
lua.lib and lualib.lib
build the plugin and test it with a simple %UserPrefsDirectory%\init.lua script:
-- init.lua
print("hello world")
-- that's enough for a first test
Any help would be appreciated,
Luis E.G.O.
--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev