all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: hiweedmandriva3@163.com
Cc: 74429-done@debbugs.gnu.org
Subject: bug#74429: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter
Date: Sat, 23 Nov 2024 15:09:07 +0200	[thread overview]
Message-ID: <86ttbyksgc.fsf@gnu.org> (raw)
In-Reply-To: <86bjy8rgo6.fsf@gnu.org> (message from Eli Zaretskii on Thu, 21 Nov 2024 13:04:57 +0200)

> Cc: 74429@debbugs.gnu.org
> Date: Thu, 21 Nov 2024 13:04:57 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > 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.

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.





      parent reply	other threads:[~2024-11-23 13:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2024-11-23 12:21   ` bug#74429: " Hiweed Mandriva3
2024-11-23 13:38     ` Eli Zaretskii
2024-11-23 15:00       ` Hiweed Mandriva3
2024-11-23 15:39         ` Eli Zaretskii
2024-11-23 16:46           ` Hiweed Mandriva3
2024-11-23 13:09   ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ttbyksgc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74429-done@debbugs.gnu.org \
    --cc=hiweedmandriva3@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.