From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp60.i.mail.ru (smtp60.i.mail.ru [217.69.128.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E1C2A4696C3 for ; Thu, 2 Apr 2020 11:53:20 +0300 (MSK) References: <1090ea3aa089beee61c44d0e42b3bcf6ea250782.1585171743.git.lvasiliev@tarantool.org> <3037d64f-69fe-86ed-e30c-60e1704bfa69@tarantool.org> From: Oleg Babin Message-ID: <84288a88-e33e-10d3-da99-5fdab695c3f0@tarantool.org> Date: Thu, 2 Apr 2020 11:53:18 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH] rocks: forward options to luarocks List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lvasiliev , v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.tarantool.org Hi! Thanks for answers! On 02/04/2020 11:30, lvasiliev wrote: > As I understand it, you use luarocks from the system, you need use > luaroks from the repo (use export LUA_PATH=...). Yes, you are right. LUA_PATH="$PWD/third_party/luarocks/src/?.lua" ./src/tarantool extra/dist/tarantoolctl rocks make It solved my problem. However, there is another error: ``` LUA_PATH="$PWD/third_party/luarocks/src/?.lua" ./src/tarantool extra/dist/tarantoolctl rocks make --chdir ../tracing Error: Argument missing: please specify a rockspec to use on current directory. ``` But it worked before. Ok. Let's add a rockspec. ``` LUA_PATH="$PWD/third_party/luarocks/src/?.lua;$PWD/src/?/init.lua" ./src/tarantool extra/dist/tarantoolctl rocks make ../tracing/tracing-scm-1.rockspec --chdir ../tracing Missing dependencies for tracing scm-1: checks >= 3.0.1 (not installed) tracing scm-1 depends on checks >= 3.0.1 (not installed) checks not found for Lua 5.1. Checking if available for other Lua versions... Checking for Lua 5.2... Checking for Lua 5.3... Checking for Lua 5.4... Error: Could not satisfy dependency checks >= 3.0.1: No results matching query were found for Lua 5.1. ``` Expected result - "checks" will be downloaded and installed as well as "tracing" in "$PWD/.rocks" --- Oleg Babin