From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id B2A523858D29 for ; Sat, 20 Feb 2021 10:15:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B2A523858D29 Received: by mail-pf1-x42c.google.com with SMTP id c11so3514392pfp.10 for ; Sat, 20 Feb 2021 02:15:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:references :message-id:mime-version:content-transfer-encoding; bh=TAh+v/CKaw73BsyKRCaMRDNFzfawKB+1CM4nZPl/BoM=; b=WwgUwc6WTS4jye6+BFnPmo4r8yulLl5nDXKJ6YohTQcgAIBxYNr1Dz5f4uE7dUgeUc DNCt7Otvpc2TYl0Nzz20cXe5qI4k9WbAzV/Mw/dMtlGnprRWfrgXID/x1dKq1b1Ys0qK JoYAbK6U1jz9jNsxUGYKgzUi4vBHqOkSwGx3Db5LhE7pMN2oZBonq7/nrrfTpcLsOL3H tENI808PvvvydUGylRl0TAu9iHl0+Pm2L7A6ndVXu4gobbhnv/CB/9rNuSAcVOBtenTt HnbPVAvEsSMN5H6Pzz6M8SrbTyBD+W19YrSRFS1pXMe9WpNmk/b9AkyP6TS7GUnrrZ4R 7c3w== X-Gm-Message-State: AOAM531XmSpbTX+/uKFy2E1bR1Dx3FliqQDoBteFfPWvHlYhRA2zgIu0 arKFrz/mUfiPLE/SykkK29/FyyoR2n0= X-Google-Smtp-Source: ABdhPJzF/df+QDNErIUmg/cVvXwItVHepub6OW+alLT1WP/zieUwDArsxg/9md2FHQwarShFnsG4Kw== X-Received: by 2002:a63:f14b:: with SMTP id o11mr12161622pgk.440.1613816140348; Sat, 20 Feb 2021 02:15:40 -0800 (PST) Received: from [192.168.3.4] ([2400:2411:aa20:4300:15bb:e429:8030:3172]) by smtp.gmail.com with ESMTPSA id d185sm13029294pfd.110.2021.02.20.02.15.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Feb 2021 02:15:37 -0800 (PST) Date: Sat, 20 Feb 2021 19:15:38 +0900 From: Lemures Lemniscati To: cygwin-apps@cygwin.com Subject: Re: Multiple version of Lua with alternatives In-Reply-To: <874ki7uqz2.fsf@Rainer.invalid> References: <20210216001204.2A09.50F79699@gmail.com> <874ki7uqz2.fsf@Rainer.invalid> Message-Id: <20210220191536.1263.50F79699@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.75.02 [ja] X-Antivirus: Avast (VPS 210220-0, 2021/02/20), Outbound message X-Antivirus-Status: Clean X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_ABUSEAT, RCVD_IN_DNSWL_NONE, RCVD_IN_XBL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2021 10:15:43 -0000 On Sat, 20 Feb 2021 08:40:33 +0100, Achim Gratz > Lemures Lemniscati via Cygwin-apps writes: > > * A new source luarocks provides lua53- and lua54-luarocks. > > They install rocks into an alternative tree /var/lib/lua-site/. > > That looks wrong to me, I'd have expected > > /usr/share/lua/luarocks > > or maybe /usr/local as a prefix depending on how much emphasis you want > to put on the user-installable part. The /var/lib tree is for local > state information per FHS, not installed components. Thank you for review. I've fixed it, so that luarocks should install rocks into /usr/share/lua/luarocks, and updated packages [1]. * lua53, lua53-luarocks, * lua54, lua54-luarocks. [1]: https://cygwin-lem.github.io/lua-cygwin-packages/ And, here is a sample script to see whether luarocks works or not: -------- luarocks-5.4 install argparse \ && luarocks-5.4 list \ && lua5.4 -e 'require("argparse")' && echo OK \ && luarocks-5.4 remove argparse luarocks-5.3 install argparse \ && luarocks-5.3 list \ && lua5.3 -e 'require("argparse")' && echo OK \ && luarocks-5.3 remove argparse -------- Regards, Lem