Hi Hisham, On 7 Mar 2013, at 22:58, Hisham <h...@hisham.hm> wrote: > On 6 March 2013 21:37, Gary V. Vaughan <g...@vaughan.pe> wrote: >> specl rockspec contains: >> >> dependencies = { "lua >= 5.1", "stdlib >= 33" } >> >> So that should catch a too old stdlib, no? > > Yes, it should. In fact, I caught a weird condition here, in which I > had installed stdlib 32 running the Lua 5.1 interpreter and stdlib 33 > running the Lua 5.2 interpreter, both in the same LuaRocks tree, and > LuaRocks got completely confused by that. I cleaned up the environment > and it installed correctly. > > I should fix this kind of misbehavior, but it will take some thinking > to see if it can be done without breaking compatibility (the essential > problem is that /lib/luarocks/ is not versioned by Lua version). > > Specl 2 is now uploaded. Sorry about the mess.
No problem, thanks for the upload. Regarding luarocks vs multiple Lua, I would *love* if there was a straight forward way to have a single luarocks installation manage separate rocks trees for several parallel Lua installs. My package manage (homebrew) has but a single luarocks, which uses the Lua version you pass it at build time, and then manages rocks for just that version -- in my case Lua 5.2. I then have to manually side-load a separate luarocks for Lua 5.1, and will soon have to side-load a third luarocks for luajit :-? I think the unversioned /lib/luarocks is the main problem, so fixing that should also fix my multiple luarocks installations issue too, right? Cheers, -- Gary V. Vaughan (gary AT vaughan DOT pe) ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers