On 3/10/06, Anders F Björklund <[EMAIL PROTECTED]> wrote:
> Francesco Montorsi wrote:
>
> >> You might want to do the same thing for the include dir, too... ?
> > the headers should not cause any conflict since they go in
> > $PREFIX/include/lua/include
> >
> > (note the double include string in path - required for wxLua moduling
> > system). IIRC correctly lua puts its headers in $PREFIX/include/lua,
> > right ?
>
> Almost, an example:
> /usr/local/include/lua.h
> /usr/local/include/luaconf.h
> /usr/local/include/lualib.h
> /usr/local/include/lauxlib.h
> /usr/local/include/lua.hpp
>
> > Ok, it's not that clear which headers belong to lua and which ones to
> > the lua shipped with wxLua... maybe we should change also these ?
>
> Just a thought...
>
> It's fine with me to not install the "vanilla" lua, but just the wxlua ?
> I've patched my Lua to support loading of Mac shared libraries,
> anyway...
>
> See http://www.algonet.se/~afb/lua/, using it to load "luaglut" for
> OpenGL

We've also patched our lua so it should be installed if people want to
compile their programs using the wxlua libs. Can we put the includes
into

/usr/loca/include/wxlua/...

maybe it's non standard, but I definitely don't want to overwrite
other people's things. (Thats why I never install tgz sources I
compile into the system path).

About the lua executable, maybe it's best to rename it to wxlua-lua as
Francesco suggested. You may not be able to use the system lua if it's
the wrong version. For example, we use 5.0.2 and 5.1 will really break
a lot of things for us (table.getn has been removed) so the binding
generator has to use "our" version of lua.

Regards,
    John Labenski


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to