On 5/5/07, mpb <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm working on recipes for Lua and several of Lua's modules.
>
> There are two types of Lua modules:
> * modules written in Lua
> * modules written in C
>
> My question is, should modules be installed in the Lua-default locatons:
>
> $target/share/lua/5.1    (for Lua modules)
> $target/lib/lua/5.1    (for C modules)
>
> Or should Lua (and every module) be patched to install both types of
> modules in the 'lib' directory, as follows:
>
> $target/lib/lua/lmod/5.1    (for Lua modules)
> $target/lib/lua/cmod/5.1    (for C modules)
>
> Currently, Lua itself uses the patched locations, but the 2 Lua
> modules for which there are recipes use the Lua-default locations.
>
> So, my question is, which set of locations is preferred?  The default?
>  Or the patched?

The default. I thought the recipe for Lua had been fixed, actually.
(Also, the recipe should set LUA_PATH and LUA_CPATH accordingly.)

> My inclination is to go with the default, as that means less patching.
> As I am going to be adding recipes for additional Lua modules, I'd
> like to synchronize the locations that are used.

Please do so, that would be great.

Thanks,
-- Hisham
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to