On 11.04.2011 23:30:42, Hisham wrote: > On Tue, Apr 5, 2011 at 4:05 PM, Michel Alexandre Salim > > We're hoping to integrate LuaRocks into our Lua packaging for the > next > > release cycle (Fedora 16), similar to how when installing Python > eggs > > and Ruby gems on Fedora, already-installed modules managed by the > > system's package manager are detected. It'd probably require fixing > some > > multilib issues (even with --with-lua-lib passed, luarocks wants to > > install new modules to "lib" rather than to "lib64"), but those are > a > > bit harder to debug with the additional noise due to the duplicate > paths! > > Indeed, the hierarchy lib/lua/5.1 is hardcoded in luarocks/path.lua > for now... we need to fix this. I added this to the bugtracker.
Sorry for necroposting. I am back (after a year+) for the same goal for my distro (ALTLinux). Now, Hisham, I can't find the bug you mentioned. Could you please point me out? Next, inspecting the changes in this area, I see the code's moved and now it is in cfg.lua: 142 lib_modules_path = "/lib/lua/"..lua_version, I started thinking to replace /lib/ to something like site_config.LUA_LIBSUBDIR to be able to fix the issue through a config file. But not sure this is right. Can give me a hint? Thanks in advance & Regards, -- Ildar Mulyukov, free SW designer/programmer ================================================ email: [email protected] home: http://johan-notes.blogspot.com/ ALT Linux Sisyphus ================================================ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
