lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Sep 1, 2014 1:42 AM, "Philipp Janda" <siffiejoe@gmx.net> wrote:
>
> Am 01.09.2014 um 05:29 schröbte Rena:
>
>> $ luarocks search proc
>>
>> Search results:
>> ===============
>>
>>
>> Rockspecs and source rocks:
>> ---------------------------
>>
>> luaproc
>>     1.0-1 (rockspec) - http://www.luarocks.org/repositories/rocks
>>     1.0-1 (src) - http://www.luarocks.org/repositories/rocks
>>
>> $ sudo luarocks install luaproc
>> [sudo] password for rena:
>>
>> Error: No results matching query were found.
>>
>> Am I doing something dumb or is something broken?
>
>
> Are you trying to build for Lua 5.2 by any chance? It could be that `luarocks search` doesn't take dependencies into account (and it shouldn't except *maybe* the Lua version), while `luarocks install` does.

Both `search` and `install` take the Lua version into account, or at least they should. The server ought to return different results in manifest-5.1 and manifest-5.2 and the command line tool should use the correct one. Something's not working as intended.

-- Hisham