From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74429: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter Date: Sat, 23 Nov 2024 15:09:07 +0200 Message-ID: <86ttbyksgc.fsf@gnu.org> References: <20241118150312.18182-1-hiweedmandriva3@163.com> <86bjy8rgo6.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13309"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74429-done@debbugs.gnu.org To: hiweedmandriva3@163.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 23 14:12:28 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tEpw4-0003Kf-GC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Nov 2024 14:12:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEpvg-0001wk-Eb; Sat, 23 Nov 2024 08:12:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEpve-0001wJ-QV for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 08:12:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEpve-0004BH-Hq for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 08:12:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=7vqcja0Dv/rQruDYNQOAtbNfi09WXsc0S5lRCtImT5w=; b=YJSkcDtzsSWyfMidpfaTAwIYmCSb2XAUeuEUA7lCwwBxzW10+9RHOcHNgmz5HTjQBTSDiinieeL5VYYCy/w20P9YtdDgXrEpN1ehMepls/gnBRf9+EVtDRyaxjBJRqFL/FfRXqdQyge1FX+CcJ4VIL60rWgIijUr8ud3S6LFEiMZvrdav17pbK4Au0m4pJjptzCfozOpFj/Wt3il4dgiYxq1ljBXs5DpYq3pgM5dr9ozf8mV0oAexr/3VGUxWFNTKF1XJhk9gaHLpEFJWjll6H+nrO1czp8lIG7hxl1XPkXZSm7k+V8DW0Ja27uKF4pHKhYjPwoZlieehhrCuOYW2w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEpve-0006EE-BX for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 08:12:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2024 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74429 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 74429@debbugs.gnu.org, eliz@gnu.org, hiweedmandriva3@163.com Original-Received: via spool by 74429-done@debbugs.gnu.org id=D74429.173236748923892 (code D ref 74429); Sat, 23 Nov 2024 13:12:02 +0000 Original-Received: (at 74429-done) by debbugs.gnu.org; 23 Nov 2024 13:11:29 +0000 Original-Received: from localhost ([127.0.0.1]:57097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEpv7-0006DH-4Q for submit@debbugs.gnu.org; Sat, 23 Nov 2024 08:11:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEpv6-0006D0-4N for 74429-done@debbugs.gnu.org; Sat, 23 Nov 2024 08:11:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEpsr-0003r9-Fh; Sat, 23 Nov 2024 08:09:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7vqcja0Dv/rQruDYNQOAtbNfi09WXsc0S5lRCtImT5w=; b=CXFUUy0OvqNN QkPZ1MmBJgOkyYzBfbc4n+w1GKhIW+Fq9s+OQdNeP9oiczi5yBWVFMujjPBb835jPeBAupawWBxZG aARO6bAh5z9kf3QdgqHqW0NsJ99rejBMrdTNSTXbCV7NSBRNk7CoI9IMVYkKCsKZNVx0Oq6f59dL3 n5pEIsccWsiaULPrfIfhjyb0MBJ1ZAYOFTE7HWb/S29NypwDEVQwn1t0GmJBiyTxE8zDU+lVhE4Et +PfiC57I+9L3RkonyVn2Zt3Ldtre31B37Q4nDK2AekpXS+PKPZZ17m6o5zouq+iNMbzIBtQxnmBAw /XvKYSzFZYQVhENadB/hRQ==; In-Reply-To: <86bjy8rgo6.fsf@gnu.org> (message from Eli Zaretskii on Thu, 21 Nov 2024 13:04:57 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295830 Archived-At: > Cc: 74429@debbugs.gnu.org > Date: Thu, 21 Nov 2024 13:04:57 +0200 > From: Eli Zaretskii > > > Cc: Nerd > > From: Nerd > > Date: Mon, 18 Nov 2024 23:03:12 +0800 > > > > configure: error: The following required libraries were not found: > > tree-sitter > > Maybe some development libraries/packages are missing? > > To build anyway, give: > > --with-tree-sitter=ifavailable > > as options to configure. > > > > https://packages.msys2.org/base/mingw-w64-tree-sitter > > it seems that tree-sitter on msys2/mingw-w64 has two libraries > > mingw-w64-x86_64-libtree-sitter and mingw-w64-x86_64-tree-sitter > > --- > > nt/INSTALL.W64 | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/nt/INSTALL.W64 b/nt/INSTALL.W64 > > index 9694e85f269d..87eecff779a0 100644 > > --- a/nt/INSTALL.W64 > > +++ b/nt/INSTALL.W64 > > @@ -60,6 +60,7 @@ packages (you can copy and paste it into the shell with Shift + Insert): > > mingw-w64-x86_64-harfbuzz \ > > mingw-w64-x86_64-libgccjit \ > > mingw-w64-x86_64-sqlite3 \ > > + mingw-w64-x86_64-libtree-sitter \ > > mingw-w64-x86_64-tree-sitter > > Thanks. However, AFAICS the mingw-w64-x86_64-libtree-sitter package > provided by MSYS2 includes the library under the name > libtree-sitter-0.24.dll, whereas Emacs only knows to look for > libtree-sitter-0.dll. Does installing this package provide > tree-sitter support for you? Or did you need to rename the DLL to the > name Emacs looks for? If users need to rename the DLL, we should tell > that in INSTALL and perhaps also README files. I've now updated INSTALL.W64 and README.W32 on the emacs-30 branch with this information, and also modified Emacs 30 to know about the new naming scheme of libtree-sitter DLL as distributed by MSYS2 folks. With that, I'm closing this bug.