GNU bug report logs - #74429
[PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter

Previous Next

Package: emacs;

Reported by: Nerd <hiweedmandriva3 <at> 163.com>

Date: Tue, 19 Nov 2024 05:28:02 UTC

Severity: normal

Tags: patch

Merged with 74431

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nerd <hiweedmandriva3 <at> 163.com>
Subject: bug#74429: closed (Re: bug#74429: [PATCH] [nt/INSTALL.W64]
 configure error about missing tree-sitter)
Date: Sat, 23 Nov 2024 13:12:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#74429: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 74429 <at> debbugs.gnu.org.

-- 
74429: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74429
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: hiweedmandriva3 <at> 163.com
Cc: 74429-done <at> debbugs.gnu.org
Subject: Re: bug#74429: [PATCH] [nt/INSTALL.W64] configure error about missing
 tree-sitter
Date: Sat, 23 Nov 2024 15:09:07 +0200
> Cc: 74429 <at> debbugs.gnu.org
> Date: Thu, 21 Nov 2024 13:04:57 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > Cc: Nerd <hiweedmandriva3 <at> 163.com>
> > From: Nerd <hiweedmandriva3 <at> 163.com>
> > 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.

[Message part 3 (message/rfc822, inline)]
From: Nerd <hiweedmandriva3 <at> 163.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Nerd <hiweedmandriva3 <at> 163.com>
Subject: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter
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
 
 The packages include the base developer tools (autoconf, grep, make,
-- 
2.47.0




This bug report was last modified 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.