unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74429: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter
@ 2024-11-18 15:03 Nerd
  2024-11-21 11:04 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Nerd @ 2024-11-18 15:03 UTC (permalink / raw)
  To: 74429; +Cc: Nerd

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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#74429: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter
  2024-11-18 15:03 bug#74429: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter Nerd
@ 2024-11-21 11:04 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-11-21 11:04 UTC (permalink / raw)
  To: Nerd; +Cc: 74429

> Cc: Nerd <hiweedmandriva3@163.com>
> From: Nerd <hiweedmandriva3@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-21 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-18 15:03 bug#74429: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter Nerd
2024-11-21 11:04 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).