From: Eli Zaretskii <eliz@gnu.org>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: 65123@debbugs.gnu.org
Subject: bug#65123: 29.1; Build fails with "configure --without-all --with-tree-sitter"
Date: Mon, 07 Aug 2023 15:42:55 +0300 [thread overview]
Message-ID: <83tttbnhv4.fsf@gnu.org> (raw)
In-Reply-To: <u350vcesp@gentoo.org> (message from Ulrich Mueller on Mon, 07 Aug 2023 12:44:38 +0200)
> From: Ulrich Mueller <ulm@gentoo.org>
> Date: Mon, 07 Aug 2023 12:44:38 +0200
>
> Forwarding downstream bug: https://bugs.gentoo.org/911826
>
> Linking of temacs fails with undefined references to symbols
> dynlib_error, dynlib_open and dynlib_sym when using configure options
> --without-all --with-tree-sitter. To reproduce:
Thanks. Does the patch below fix this?
diff --git a/configure.ac b/configure.ac
index 5dd182a..ab401be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3254,6 +3254,7 @@ AC_DEFUN
[HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])
if test "${HAVE_TREE_SITTER}" = yes; then
AC_DEFINE(HAVE_TREE_SITTER, 1, [Define if using tree-sitter.])
+ NEED_DYNLIB=yes
else
EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.6.3],
[HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])
next prev parent reply other threads:[~2023-08-07 12:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-07 10:44 bug#65123: 29.1; Build fails with "configure --without-all --with-tree-sitter" Ulrich Mueller
2023-08-07 12:42 ` Eli Zaretskii [this message]
2023-08-07 13:02 ` Ulrich Mueller
2023-08-07 13:21 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83tttbnhv4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=65123@debbugs.gnu.org \
--cc=ulm@gentoo.org \
/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 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).