GNU bug report logs - #59532
28.2; Unable to build emacs with tree-sitter installed

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Thierry Volpiatto <thievol@HIDDEN>; dated Thu, 24 Nov 2022 07:01:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 4 Dec 2022 11:44:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 04 06:44:49 2022
Received: from localhost ([127.0.0.1]:57089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p1nQP-0002Ks-6W
	for submit <at> debbugs.gnu.org; Sun, 04 Dec 2022 06:44:49 -0500
Received: from eggs.gnu.org ([209.51.188.92]:49256)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1p1nQN-0002Km-Em
 for 59532 <at> debbugs.gnu.org; Sun, 04 Dec 2022 06:44:47 -0500
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 <eliz@HIDDEN>)
 id 1p1nQI-00016W-1l; Sun, 04 Dec 2022 06:44:42 -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=Ej22uUeRRXNDvehEFDRa6NMpQs6Qur/0NookeJsSXpc=; b=WLgLglkNI+CE
 RtP8328os79QPByyxS4Qyefd7Px3n+t9Au7raEtjKwKAi5nhbTzOJNRzQ0X1FilWnOU017nY+fa2R
 oSbb+ZhLKo8Vp2K516j4/EOjTvB0LDKDoVTOOUwKtWcn86IZuZtkrEHYp14rT26d2iih0N+5wG3yV
 8SU+rX31OUBaiMA0rY6WKDb/8RZEy2UitBf0Sbj+djN3MRkA7bbi4Zu4l/JJ0xHeGVS49V0A95n6M
 /N+ktswzBe9Cen9adlrtc6G+MBOqYN5yUvV+IB/K9NruIZlusypBjmbtTsx7q0kIDyGSVoqvs42p1
 rVt4lR6aXeJosU6wHuv+fA==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1p1nQH-0005dU-7r; Sun, 04 Dec 2022 06:44:41 -0500
Date: Sun, 04 Dec 2022 13:44:22 +0200
Message-Id: <83h6ybbdgp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Thierry Volpiatto <thievol@HIDDEN>
In-Reply-To: <87lennigzq.fsf@HIDDEN> (message from Thierry Volpiatto on
 Sun, 04 Dec 2022 10:41:00 +0000)
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
References: <87edtshm6z.fsf@HIDDEN> <837czkye1i.fsf@HIDDEN>
 <87a64ghgwy.fsf@HIDDEN> <83zgcgwt70.fsf@HIDDEN>
 <875yf4hbgr.fsf@HIDDEN> <83r0xswre3.fsf@HIDDEN>
 <87pmczio23.fsf@HIDDEN> <83lennbi4k.fsf@HIDDEN>
 <87lennigzq.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Thierry Volpiatto <thievol@HIDDEN>
> Cc: 59532 <at> debbugs.gnu.org
> Date: Sun, 04 Dec 2022 10:41:00 +0000
> 
> > It is not wrong, it just assumes a well-configured system, where shared
> > libraries live in a sensible place.
> 
> No, if one follow the directions in "* Building Emacs with tree-sitter"
> it will fail, well-configured system or not as long as you consider
> "/usr/local/lib" as a wrong place to install tree-sitter.

/usr/local/lib is not a wrong place.  Depending on your system
configuration, it might be right or it might be wrong.

> I just remind you that it is tree-sitter itself with make+make install
> that install tree-sitter libs in this place.

No, that's the tree-sitter's _default_.  When you use its Makefile, you are
supposed to review it and change the default as needed.

> I just say that for people trying to install tree-sitter, if it just for
> me I am fine with "--without-tree-sitter".

Those notes are not for everyone, they will be deleted soon.  They were
meant to help people who wanted to work on new modes based on tree-sitter.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 4 Dec 2022 10:46:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 04 05:46:32 2022
Received: from localhost ([127.0.0.1]:56854 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p1mW0-0001Zg-9V
	for submit <at> debbugs.gnu.org; Sun, 04 Dec 2022 05:46:32 -0500
Received: from mout02.posteo.de ([185.67.36.66]:41803)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@HIDDEN>) id 1p1mVx-0001Za-J1
 for 59532 <at> debbugs.gnu.org; Sun, 04 Dec 2022 05:46:30 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id BCCF0240104
 for <59532 <at> debbugs.gnu.org>; Sun,  4 Dec 2022 11:46:23 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1670150783; bh=/93MrdjR6UxM6QunPkKUUD2rKKg173CCBnPGEyeSot4=;
 h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From;
 b=odLl/UelIcW8AV00o9T52WXMBXDG0hHl9u43xliZu01Tsr4wPGybX+a8unJyxo5BF
 wgbd7ZpcQkQi01XIps4mvsGkRRaUhPfMRxsBMreZxDGVrRw9C3DqTuEBdT/NfpZfxh
 x94g2w6lrQoB4Y6AllH0AEx98YFLBDaCk0N+V+n24kYpTFWQQ++Ql9mIC+sSARXsMB
 e5aQ3uuPy/uWCj7r0GB16YREbaY0nHSTB2SADdM+JJyRgN3vPQg1Z3nhAvqAmqSc3k
 JuvF3qxv0RIlZuULfNhw/MGH5NPo5qxnUc3vQqogBfg8vjWNckH/vKdWqdS28mtSAw
 I442NGiG0xAgA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4NQ3JG5dMPz9rxH;
 Sun,  4 Dec 2022 11:46:19 +0100 (CET)
References: <87edtshm6z.fsf@HIDDEN> <837czkye1i.fsf@HIDDEN>
 <87a64ghgwy.fsf@HIDDEN> <83zgcgwt70.fsf@HIDDEN>
 <875yf4hbgr.fsf@HIDDEN> <83r0xswre3.fsf@HIDDEN>
 <87pmczio23.fsf@HIDDEN> <83lennbi4k.fsf@HIDDEN>
From: Thierry Volpiatto <thievol@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
Date: Sun, 04 Dec 2022 10:41:00 +0000
In-reply-to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/3Ddbs9HezUgXeUzOLJMcEYFlvCyC8ZS
 l/QDZmpobKbxZ1JAqZM8lnmcZYSV7OsWnxJIYDV1gH5LTLj7bGswXaB4B+qkckihWkRZixu8q1IK
 0c/xwUzyF092uFRM/sQKrSmnwA1+hQiiIuEl4XVz5li0/TmMta3ijUM7GNbl2IjioTRxWWecwad1
 mNHvKTcXPsKDAbHFdLvQzurnroBHQV0jSPNLTP5Suo7RnLbehfg5INpGjToCUlrd2qQqgXW7h5qZ
 TgUq5UmBc7YZ0JYWQgPTbQ==
Message-ID: <87lennigzq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
OpenPGP: url=https://posteo.de/keys/thievol@HIDDEN; preference=encrypt
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Thierry Volpiatto <thievol@HIDDEN>
>> Cc: 59532 <at> debbugs.gnu.org
>> Date: Sun, 04 Dec 2022 07:59:21 +0000
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> >> From: Thierry Volpiatto <thievol@HIDDEN>
>> >> Cc: 59532 <at> debbugs.gnu.org
>> >> Date: Thu, 24 Nov 2022 10:47:08 +0000
>> >>=20
>> >> > Then I think you need to tweak tree-sitter's Makefile, or use "make=
 install
>> >> > PREFIX=3D/SOME/DIRECTORY", to install the shared libraries and head=
er files
>> >> > where the rest of them are installed on your system.  In any case, =
so that
>> >> > the shared libraries end up in a directory that the dynamic linker =
scans for
>> >> > shared libraries on your system.
>> >>=20
>> >> Yes, of course I can do that but it seems weird that ./configure loca=
te
>> >> these files and make doesn't, isn't it?
>> >
>> > The configure script doesn't run any programs, it only tries to compil=
e and
>> > link them.  By contrast, the build process does run Emacs, and that re=
quires
>> > to find the library (if the Lisp code processed by temacs needs to cal=
l the
>> > library).
>>=20
>> So the documentation in emacs/admin/notes/tree-sitter/starter-guide is
>> wrong (* Building Emacs with tree-sitter).
>
> It is not wrong, it just assumes a well-configured system, where shared
> libraries live in a sensible place.

No, if one follow the directions in "* Building Emacs with tree-sitter"
it will fail, well-configured system or not as long as you consider
"/usr/local/lib" as a wrong place to install tree-sitter.  I just remind
you that it is tree-sitter itself with make+make install that install
tree-sitter libs in this place.
I just say that for people trying to install tree-sitter, if it just for
me I am fine with "--without-tree-sitter".

=2D-=20
Thierry

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmOMenoTHHRoaWV2b2xA
cG9zdGVvLm5ldAAKCRAOxW0UHRbvkxW/C/4gzt4SRFAbGhU8GEREIBNTY2Q04HMc
gr/q5bsFZUT74P/fT/PXkrxJm7rB3xdcXc6PIOcNmYSJ/lqKq0IuO5DNySS40jQc
PJXa267RbTBQrwPL2k+mjPGE5GT3/+n8IYwiez4NF0noe0tGIJU7ihdeth/6aX2B
q12vhMzOqAUvfybfKzAv0brVKVIGsPq5WiNgVhjDZ5zBKa087G3UpHc/jBel3b9V
TPnpOclmTqcVHIs/MC4cW/k7Y97knc9jucRC2R9Y2NXvup9V7bpZNShoXdGb0JHG
Fi9GdkKQcqr/4U4Y6s+zUiaRRFXMnOIphFaEir7dHTjaMQwiv6XGRgWhS04YxP2q
nroPJ7y/2gshog8wC3U5dx3e+goySbiQyqeNlvzVgcX31EoXaJo+CgyvvOD2ZW/S
DBQdfuRkPvvREvydPS4Qi0USu1KmCTFaqeYmZ6gR7tVuL51CXt6RRBAlvSBjhyrh
CjScbyeFziwRjXEtz1ZEnAGfuf/ZgSKA204=
=/1xd
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 4 Dec 2022 10:04:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 04 05:04:06 2022
Received: from localhost ([127.0.0.1]:56644 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p1lqw-0001B9-8b
	for submit <at> debbugs.gnu.org; Sun, 04 Dec 2022 05:04:06 -0500
Received: from eggs.gnu.org ([209.51.188.92]:45782)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1p1lqu-0001Aj-3B
 for 59532 <at> debbugs.gnu.org; Sun, 04 Dec 2022 05:04:04 -0500
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 <eliz@HIDDEN>)
 id 1p1lqo-0001p2-Qy; Sun, 04 Dec 2022 05:03:58 -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=ftcBdoU++bepsX6qOQ7+BGNSyEAcIPZN+KsHKOnuRSc=; b=EZE905kmA5xg
 dQlqOzf/Pmk7WnL6bFV33NOK08hSLJ3G3IdU5kn6hXLi0LoZKoYicpFneWUsY/3gDWNS8cMAAYBgE
 K4ClJOzLWAxdYr/bS2oF+imxFAPC508Y28fedPA8gWwKkPguWBtSjFo2evJtKjwV92NVKLlOpBaiC
 k4aaJFtBRC7bYEYpW1ydP7sKvV84rkxtEkeZByYOPARdo0LUyC+xfCKGxUdtLJTfjdOfyFuBD9kZg
 5zWgDbrYt6zx6qPrqbzX/esWM8T3nXIBDIiT108nq3cdkKXMg/5rB2Pi9PnwfgA4cjY/+wUTl1RJI
 L3SN3fRg9sLBwBA+ULgsJA==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1p1lqo-0007XK-8t; Sun, 04 Dec 2022 05:03:58 -0500
Date: Sun, 04 Dec 2022 12:03:39 +0200
Message-Id: <83lennbi4k.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Thierry Volpiatto <thievol@HIDDEN>
In-Reply-To: <87pmczio23.fsf@HIDDEN> (message from Thierry Volpiatto on
 Sun, 04 Dec 2022 07:59:21 +0000)
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
References: <87edtshm6z.fsf@HIDDEN> <837czkye1i.fsf@HIDDEN>
 <87a64ghgwy.fsf@HIDDEN> <83zgcgwt70.fsf@HIDDEN>
 <875yf4hbgr.fsf@HIDDEN> <83r0xswre3.fsf@HIDDEN>
 <87pmczio23.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Thierry Volpiatto <thievol@HIDDEN>
> Cc: 59532 <at> debbugs.gnu.org
> Date: Sun, 04 Dec 2022 07:59:21 +0000
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Thierry Volpiatto <thievol@HIDDEN>
> >> Cc: 59532 <at> debbugs.gnu.org
> >> Date: Thu, 24 Nov 2022 10:47:08 +0000
> >> 
> >> > Then I think you need to tweak tree-sitter's Makefile, or use "make install
> >> > PREFIX=/SOME/DIRECTORY", to install the shared libraries and header files
> >> > where the rest of them are installed on your system.  In any case, so that
> >> > the shared libraries end up in a directory that the dynamic linker scans for
> >> > shared libraries on your system.
> >> 
> >> Yes, of course I can do that but it seems weird that ./configure locate
> >> these files and make doesn't, isn't it?
> >
> > The configure script doesn't run any programs, it only tries to compile and
> > link them.  By contrast, the build process does run Emacs, and that requires
> > to find the library (if the Lisp code processed by temacs needs to call the
> > library).
> 
> So the documentation in emacs/admin/notes/tree-sitter/starter-guide is
> wrong (* Building Emacs with tree-sitter).

It is not wrong, it just assumes a well-configured system, where shared
libraries live in a sensible place.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 4 Dec 2022 08:13:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 04 03:13:55 2022
Received: from localhost ([127.0.0.1]:56136 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p1k8J-00004s-4m
	for submit <at> debbugs.gnu.org; Sun, 04 Dec 2022 03:13:55 -0500
Received: from mout01.posteo.de ([185.67.36.65]:57659)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@HIDDEN>) id 1p1k8H-0008WO-EZ
 for 59532 <at> debbugs.gnu.org; Sun, 04 Dec 2022 03:13:54 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 846CC240028
 for <59532 <at> debbugs.gnu.org>; Sun,  4 Dec 2022 09:13:44 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1670141627; bh=vYpzoJSIAph2N7zhvYnGBsdt0sPes1JDFs8O+QlQqAs=;
 h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From;
 b=H7RgwXac118/B/C8TPhNjEpn4DAJUxphgVKSTVSZaxNquMM4dl8L1DQ4amKqWU/OC
 oiTu8pSmb4LV52odAj0YYTw9CYMRQE2AjFJz+3iEN07n4xg+Qj+z4rfA33QP6dvVEJ
 2aMnRxwl+PKr1crwGoAQXaQkAZeyeUSIRtV5vGEdrl9OwpzM/350pt/um0B5DYNy7Q
 kLgr0oRApJvrxHl+oDFRClb5lZbJVWWc5FxgoedP+VmLGp7KoTLQZS7jAq8l2on/Z0
 jHZPguio0uLsAQeoFe+BLFbco9utfxog32g3BXG57eMm6bbcdVK9fZGx7E12syr0sA
 s33+zWLHr01Rg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4NPzw74QQGz9rxG;
 Sun,  4 Dec 2022 09:13:42 +0100 (CET)
References: <87edtshm6z.fsf@HIDDEN> <837czkye1i.fsf@HIDDEN>
 <87a64ghgwy.fsf@HIDDEN> <83zgcgwt70.fsf@HIDDEN>
 <875yf4hbgr.fsf@HIDDEN> <83r0xswre3.fsf@HIDDEN>
From: Thierry Volpiatto <thievol@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
Date: Sun, 04 Dec 2022 07:59:21 +0000
In-reply-to: <83r0xswre3.fsf@HIDDEN>
Autocrypt: addr=thievol@HIDDEN; prefer-encrypt=mutual; keydata=
 mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA
 edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p
 kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb
 tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ
 GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC
 WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha
 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA
 AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHOBBMBCgA4AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA
 FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmL3HC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JPPlJKpYDnNx+MSp7UAEQEAAYkBtgQYAQoAIAIbDBYhBCPbcH0Te6954oP8
 cA7FbRQdFu+TBQJi9x1ZAAoJEA7FbRQdFu+To6QMAIcvUSiFwCIggxkmYy3ZY0QAMLmIPga8DNPM
 XbfSOBDb2KLGBd+FAA8p2GExpul4r6kOYnGogtojByHmVgrd30/3ZURTM8Vj51wwD05viMZccQHl
 Wd9J/qZIvhBJlJWYnwVxh+2Kg4/hkx7SGc7JJS5GS37+PFQOJHPGMxc+fe4Ty2FdjIOVf3P1Hov9
 K6yBI7Af66qqcL3aKJ4jJidRYN8sMaKOqEu4rcSpTxp8/3Ddbs9HezUgXeUzOLJMcEYFlvCyC8ZS
 l/QDZmpobKbxZ1JAqZM8lnmcZYSV7OsWnxJIYDV1gH5LTLj7bGswXaB4B+qkckihWkRZixu8q1IK
 0c/xwUzyF092uFRM/sQKrSmnwA1+hQiiIuEl4XVz5li0/TmMta3ijUM7GNbl2IjioTRxWWecwad1
 mNHvKTcXPsKDAbHFdLvQzurnroBHQV0jSPNLTP5Suo7RnLbehfg5INpGjToCUlrd2qQqgXW7h5qZ
 TgUq5UmBc7YZ0JYWQgPTbQ==
Message-ID: <87pmczio23.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
OpenPGP: url=https://posteo.de/keys/thievol@HIDDEN; preference=encrypt
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Thierry Volpiatto <thievol@HIDDEN>
>> Cc: 59532 <at> debbugs.gnu.org
>> Date: Thu, 24 Nov 2022 10:47:08 +0000
>>=20
>> > Then I think you need to tweak tree-sitter's Makefile, or use "make in=
stall
>> > PREFIX=3D/SOME/DIRECTORY", to install the shared libraries and header =
files
>> > where the rest of them are installed on your system.  In any case, so =
that
>> > the shared libraries end up in a directory that the dynamic linker sca=
ns for
>> > shared libraries on your system.
>>=20
>> Yes, of course I can do that but it seems weird that ./configure locate
>> these files and make doesn't, isn't it?
>
> The configure script doesn't run any programs, it only tries to compile a=
nd
> link them.  By contrast, the build process does run Emacs, and that requi=
res
> to find the library (if the Lisp code processed by temacs needs to call t=
he
> library).

So the documentation in emacs/admin/notes/tree-sitter/starter-guide is
wrong (* Building Emacs with tree-sitter).

=2D-=20
Thierry

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmOMVrQTHHRoaWV2b2xA
cG9zdGVvLm5ldAAKCRAOxW0UHRbvkxBZDACjNx+X2Osau1LvllatNy7Z1Dt1tmqm
5LPKmUKvgE3/gYPE4/vQHG5u7REtjvuC74EpbSTdXP6la2XZZgVSdM6E3VAkE/wB
ZWoXEgYYgGRPvwj/QEdIpq7Ilo5NEEcQICyTlJ0xLPwumEGrCLCJF4acSBFstX7j
vdjn+bygGS3j38g8E7+FovfCxuAx2etb3O1D4IajXld616QcDrl+cXlIlJxLQhb3
PRDVGeBuJEeqRbTmQ8+Ez3U/2UEA20UvL3eXEwCIwXhzh1oxpo3QP/mbS1dWdRmP
mJYPcyMfiGPzqpodSnFzo9hT6wt2+mnJ8HrlHXEHIXZdJPkGCGTfDJqe9qSikQv+
PpZ6zx20cwpcUXZ0dGpLIaVFsghVfGFoNiprpqeF3OY2Lg1usTeO8F1O6cdHztnA
932c3bBY0H7LuzcqaRbIvDaxq0Mvy1yZIOWv+j3emHy1HZGbdFhO4fias0Oa3rfa
RSBw2gl/2l3WcLZxvcQqWgNOUAgXOobrxHk=
=yyO0
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 24 Nov 2022 10:58:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 24 05:58:19 2022
Received: from localhost ([127.0.0.1]:57477 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oy9vv-00076v-6b
	for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 05:58:19 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56250)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1oy9vt-00076i-2j
 for 59532 <at> debbugs.gnu.org; Thu, 24 Nov 2022 05:58:17 -0500
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 <eliz@HIDDEN>)
 id 1oy9vm-0001MF-Bp; Thu, 24 Nov 2022 05:58:10 -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=NQuU7Xly8lxUONGfGtlI2rp0fIFx90eQxTyW0sldUjE=; b=IMSFBRvu919u
 71OLiA2FInEghmqN8HZ48jfXHKOHd5X5oudJaNDe/Tw4222JejtUP5WsNBqu1Jk9MNGsBrlzXv7Z3
 tUPxTupeNdAL5/m9mFUvTj5zcURzp+c04c1Rba/AHibsz5Wkq8yaftkU2HEcdqIOjn8WopVXKqR4y
 NTJiuwrTCYFXpfJfvrXrn+aUw6wIXb59c/p2Gp9m8WF5iveS6sB+MNDWF5MJdWGsTWyTckJBEP9rN
 WDALH5Uum4+tNNOK3YSqb/QgUudpEZFzRBAII1G/0UuDAJeVSyYeZHV8Co/A7Mm5ZH+Sv8cvO3y+c
 OymRwpDFfGY055BXgXLNtQ==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oy9vl-00017k-49; Thu, 24 Nov 2022 05:58:09 -0500
Date: Thu, 24 Nov 2022 12:58:28 +0200
Message-Id: <83r0xswre3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Thierry Volpiatto <thievol@HIDDEN>
In-Reply-To: <875yf4hbgr.fsf@HIDDEN> (message from Thierry Volpiatto on
 Thu, 24 Nov 2022 10:47:08 +0000)
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
References: <87edtshm6z.fsf@HIDDEN> <837czkye1i.fsf@HIDDEN>
 <87a64ghgwy.fsf@HIDDEN> <83zgcgwt70.fsf@HIDDEN>
 <875yf4hbgr.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Thierry Volpiatto <thievol@HIDDEN>
> Cc: 59532 <at> debbugs.gnu.org
> Date: Thu, 24 Nov 2022 10:47:08 +0000
> 
> > Then I think you need to tweak tree-sitter's Makefile, or use "make install
> > PREFIX=/SOME/DIRECTORY", to install the shared libraries and header files
> > where the rest of them are installed on your system.  In any case, so that
> > the shared libraries end up in a directory that the dynamic linker scans for
> > shared libraries on your system.
> 
> Yes, of course I can do that but it seems weird that ./configure locate
> these files and make doesn't, isn't it?

The configure script doesn't run any programs, it only tries to compile and
link them.  By contrast, the build process does run Emacs, and that requires
to find the library (if the Lisp code processed by temacs needs to call the
library).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 24 Nov 2022 10:51:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 24 05:51:45 2022
Received: from localhost ([127.0.0.1]:57445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oy9pY-0006we-L9
	for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 05:51:45 -0500
Received: from mout01.posteo.de ([185.67.36.65]:35927)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@HIDDEN>) id 1oy9pV-0006wN-86
 for 59532 <at> debbugs.gnu.org; Thu, 24 Nov 2022 05:51:43 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 63E8A24002C
 for <59532 <at> debbugs.gnu.org>; Thu, 24 Nov 2022 11:51:35 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1669287095; bh=ucAME4XTbWtQZr/VVP20o6HD7kTaxdOkZ68F2QDnf3w=;
 h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From;
 b=IL6XUK/c9Qat/HYUAPowleEWy9QHujXxeYjzUctWiEWyRSHoBKvQvckzrhK4qSGdf
 Ff8CXto/n7CL+sWvE6hDABSmMhx2rFeSgfPvo9SHzDXyKTqLBSi3L1mpERDr+einAX
 VtrMvzzjiOA3WBpegRCvnuhFKSflDHYPvpGrilOEvq1xCf8B5Mhtt69K8ITyNFmeRp
 XNU7lsLLw8hMoRTQnx2i/Za0LCP01wQ9ypzJdagn1/u19mLGE3YAtdNt4z31///NiW
 NhMiqpbyL02zrWLe0gLfwZjgbMTDJj9h0Ta9Z/uCIqIPIuVFpd1cvmLszRF0hZ1LVr
 wAQb8+6/BApYQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4NHvtt1f5Sz6tnp;
 Thu, 24 Nov 2022 11:51:33 +0100 (CET)
References: <87edtshm6z.fsf@HIDDEN> <837czkye1i.fsf@HIDDEN>
 <87a64ghgwy.fsf@HIDDEN> <83zgcgwt70.fsf@HIDDEN>
From: Thierry Volpiatto <thievol@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
Date: Thu, 24 Nov 2022 10:47:08 +0000
In-reply-to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8/3Ddbs9HezUgXeUzOLJMcEYFlvCyC8ZS
 l/QDZmpobKbxZ1JAqZM8lnmcZYSV7OsWnxJIYDV1gH5LTLj7bGswXaB4B+qkckihWkRZixu8q1IK
 0c/xwUzyF092uFRM/sQKrSmnwA1+hQiiIuEl4XVz5li0/TmMta3ijUM7GNbl2IjioTRxWWecwad1
 mNHvKTcXPsKDAbHFdLvQzurnroBHQV0jSPNLTP5Suo7RnLbehfg5INpGjToCUlrd2qQqgXW7h5qZ
 TgUq5UmBc7YZ0JYWQgPTbQ==
Message-ID: <875yf4hbgr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
OpenPGP: url=https://posteo.de/keys/thievol@HIDDEN; preference=encrypt
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Thierry Volpiatto <thievol@HIDDEN>
>> Cc: 59532 <at> debbugs.gnu.org
>> Date: Thu, 24 Nov 2022 08:49:51 +0000
>>=20
>> >> NOTE: The only way I found to install tree-sitter was cloning from
>> >> github and run make && make install.
>> >
>> > When you do that, where are libtree-sitter.so and libtree-sitter.so.0
>> > installed? in which directory on your system?  Is that directory the s=
ame as
>> > the one where you have the other shared libraries used by Emacs, like =
the
>> > image libraries or GnuTLS?
>>=20
>> No, these files are installed in /usr/local/lib.
>
> Then I think you need to tweak tree-sitter's Makefile, or use "make insta=
ll
> PREFIX=3D/SOME/DIRECTORY", to install the shared libraries and header fil=
es
> where the rest of them are installed on your system.  In any case, so that
> the shared libraries end up in a directory that the dynamic linker scans =
for
> shared libraries on your system.

Yes, of course I can do that but it seems weird that ./configure locate
these files and make doesn't, isn't it?

=2D-=20
Thierry

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmN/TLQTHHRoaWV2b2xA
cG9zdGVvLm5ldAAKCRAOxW0UHRbvk+PCC/9J3pARGsEpscEBn6q6/AI/HmjJb5D/
U2aCK+7RWKSBpcs3FhT/Qm54O6Sh2LxaEZZ97213e5dpVJihIpguo1whUL+6frvQ
2mmOCbb+jTB+lV+DaKf0trxav0tFith6MSQa0t/+y0wf6Cc9tCh2tazafgRj09k9
OPuKH0kUvKI/SbqbnHT2JE/0CX59CXEEa/W4Wv/YOiXtXL0nVxdmK2YMh/7aA0Gj
fq9pV3s780KFdXyjoUiiKW+nelIb1+cfp49bfu5sEvm/1SCMZyrWm2NbyYE3Ur1D
cqq52tc5PIa3AIA4NNMxKsLtKUCcWK/QWe361Mjf8acrs94AHPSJpDQFf1C/5j4H
SK4ezUt0z7J5FKM8zyAh/+tTE23S/aOCcAE4+ric/C9EQ6+fRxc2AxZUu5MeZdBF
qQoDwabqDgkrACdMEd+z3z5UF58jdW7+DIeQBWAEvGYdMlsz1iZ1W52pDQuhP02j
yiVRRvcwDYO3Fp3UxuzWU4RTsoXNt2WXjrM=
=LH9a
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 24 Nov 2022 10:19:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 24 05:19:20 2022
Received: from localhost ([127.0.0.1]:57349 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oy9KC-00065Y-KE
	for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 05:19:20 -0500
Received: from eggs.gnu.org ([209.51.188.92]:55978)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1oy9KA-00065K-OC
 for 59532 <at> debbugs.gnu.org; Thu, 24 Nov 2022 05:19:19 -0500
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 <eliz@HIDDEN>)
 id 1oy9K5-0004BL-6G; Thu, 24 Nov 2022 05:19:13 -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=MRm6lEE7c3/Z3snzsmCUl/f0OAKeVU8vvr+9DyeMOlM=; b=mw+vsocKAPs6
 MFd8+NaKmPD51zW0aGFjSjlwBRAYROcQlPUehajvZ+CvtPy4GPmfpC2A5Y7WP6MA9vnLwPPRMSzaf
 X3ojtXBiBu70Oou6BD8NQWSOzZORxmE+jtj6RHryVejZ4kE7KJdCbtQrFkUzV0gYe9eLssF3g4TJt
 EBQfMZw//kgROnpO1+35RP/4FdLWAOh97lPgf644iCOTU8KxFW/5mnzht6B5EnZNl9Skyl5ic6ruB
 ++FlcEQwOPuLvaM1hll9I07CFj/4M9gkktOqus4OlvGcJDuwwnCu+j9jsNhqhHyTqZccDlmSWXXTr
 YL4ezNPXYbGX5zdctoD4Fg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oy9K4-0007JQ-MM; Thu, 24 Nov 2022 05:19:13 -0500
Date: Thu, 24 Nov 2022 12:19:31 +0200
Message-Id: <83zgcgwt70.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Thierry Volpiatto <thievol@HIDDEN>
In-Reply-To: <87a64ghgwy.fsf@HIDDEN> (message from Thierry Volpiatto on
 Thu, 24 Nov 2022 08:49:51 +0000)
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
References: <87edtshm6z.fsf@HIDDEN> <837czkye1i.fsf@HIDDEN>
 <87a64ghgwy.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Thierry Volpiatto <thievol@HIDDEN>
> Cc: 59532 <at> debbugs.gnu.org
> Date: Thu, 24 Nov 2022 08:49:51 +0000
> 
> >> NOTE: The only way I found to install tree-sitter was cloning from
> >> github and run make && make install.
> >
> > When you do that, where are libtree-sitter.so and libtree-sitter.so.0
> > installed? in which directory on your system?  Is that directory the same as
> > the one where you have the other shared libraries used by Emacs, like the
> > image libraries or GnuTLS?
> 
> No, these files are installed in /usr/local/lib.

Then I think you need to tweak tree-sitter's Makefile, or use "make install
PREFIX=/SOME/DIRECTORY", to install the shared libraries and header files
where the rest of them are installed on your system.  In any case, so that
the shared libraries end up in a directory that the dynamic linker scans for
shared libraries on your system.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 24 Nov 2022 08:54:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 24 03:54:06 2022
Received: from localhost ([127.0.0.1]:57177 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oy7zi-0001g1-0g
	for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 03:54:06 -0500
Received: from mout01.posteo.de ([185.67.36.65]:46077)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@HIDDEN>) id 1oy7zd-0001fT-Kv
 for 59532 <at> debbugs.gnu.org; Thu, 24 Nov 2022 03:54:05 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 9F101240026
 for <59532 <at> debbugs.gnu.org>; Thu, 24 Nov 2022 09:53:55 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1669280035; bh=JOtYbrNgJmNmkk+VZFXLNvhygiFqD+harkpgwKf3TRI=;
 h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From;
 b=ZUlIWEhVxorl7gGO+oLm2iCEsTCVpI7/gNsKofDzMZLX1ef0+h0a02R1HwxSBBjxK
 kJV2hZQR9r8Ok12/9ZokFeR5KZRyvwrbQYswOsQhFWiwEXKRnujOxrsek4UQLUdw3K
 psKqqLkIIimCGK7QaqvRcjJZKOd16aaeBgKgrkNNQqk+79iOJFIaNuzbszYCqyjjO+
 emE1Oyt+SIXP8dK4sFiYK0ym54E+dqMBrDOVtgFQJXrblQfyDCfuNSGawFU3lgWq/l
 wugW1l31c5GIaaqn0xz598xBpZ8gt71OE4UUvHNljRxrxOZh30pm4F4Je+dXxkhf0I
 8VPJV7VFTnzUQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4NHsH62RWFz6tsZ;
 Thu, 24 Nov 2022 09:53:51 +0100 (CET)
References: <87edtshm6z.fsf@HIDDEN> <837czkye1i.fsf@HIDDEN>
From: Thierry Volpiatto <thievol@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
Date: Thu, 24 Nov 2022 08:49:51 +0000
In-reply-to: <837czkye1i.fsf@HIDDEN>
Autocrypt: addr=thievol@HIDDEN; prefer-encrypt=mutual; keydata=
 mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA
 edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p
 kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb
 tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ
 GVq0Fv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dojlQAqxeAJ8444
 raESh1oTKXb64hlk4l2pSRlrLgjpJBo8asAfZndaxIUKhw68tV8sqeZh9P6cGtHbUELKVJqefNV7
 V7jF5wf3xvRG6Ces3kSKXalLfs+vrVaoOjQeWrc0AtwFWHmt9JLfKrqF+Q2Q7jUidboWmazQM56E
 SJFPpPHmWq8k6DHspsFHOforLouTHJL1556IPne7IV2BGfWc0+xLxalZ8F5F+vnPF/OkrC1CD5iC
 KTjXKa2iZbcYdYQAiL6P8Ac8CgN6EkhpbxRtzrEgChuNGevdi/G/GHG4Zqrh6YFwIa/NHq2aVaFq
 5C1yNTMJd1FRjRzs5JPPlJKpYDnNx+MSp7UAEQEAAYkBtgQYAQoAIAIbDBYhBCPbcH0Te6954oP8
 cA7FbRQdFu+TBQJi9x1ZAAoJEA7FbRQdFu+To6QMAIcvUSiFwCIggxkmYy3ZY0QAMLmIPga8DNPM
 XbfSOBDb2KLGBd+FAA8p2GExpul4r6kOYnGogtojByHmVgrd30/3ZURTM8Vj51wwD05viMZccQHl
 Wd9J/qZIvhBJlJWYnwVxh+2Kg4/hkx7SGc7JJS5GS37+PFQOJHPGMxc+fe4Ty2FdjIOVf3P1Hov9
 K6yBI7Af66qqcL3aKJ4jJidRYN8sMaKOqEu4rcSpTxp8/3Ddbs9HezUgXeUzOLJMcEYFlvCyC8ZS
 l/QDZmpobKbxZ1JAqZM8lnmcZYSV7OsWnxJIYDV1gH5LTLj7bGswXaB4B+qkckihWkRZixu8q1IK
 0c/xwUzyF092uFRM/sQKrSmnwA1+hQiiIuEl4XVz5li0/TmMta3ijUM7GNbl2IjioTRxWWecwad1
 mNHvKTcXPsKDAbHFdLvQzurnroBHQV0jSPNLTP5Suo7RnLbehfg5INpGjToCUlrd2qQqgXW7h5qZ
 TgUq5UmBc7YZ0JYWQgPTbQ==
Message-ID: <87a64ghgwy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
OpenPGP: url=https://posteo.de/keys/thievol@HIDDEN; preference=encrypt
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Thierry Volpiatto <thievol@HIDDEN>
>> Date: Thu, 24 Nov 2022 06:46:35 +0000
>>=20
>>=20
>> Then I ran make and had this error:
>>=20
>> ,----
>> | cp -f temacs bootstrap-emacs
>> | rm -f bootstrap-emacs.pdmp
>> | ./temacs --batch  -l loadup --temacs=3Dpbootstrap \
>> |         --bin-dest /usr/local/bin/ --eln-dest /usr/local/lib/emacs/29.=
0.50/
>> | ./temacs: error while loading shared libraries: libtree-sitter.so.0: c=
annot open shared object file: No such file or directory
>> | make[2]: *** [Makefile:915 : bootstrap-emacs.pdmp] Erreur 127
>> | make[2]=C2=A0: on quitte le r=C3=A9pertoire =C2=AB=C2=A0/home/thierry/=
tmp/emacs/src=C2=A0=C2=BB
>> | make[1]: *** [Makefile:544 : src] Erreur 2
>> | make[1]=C2=A0: on quitte le r=C3=A9pertoire =C2=AB=C2=A0/home/thierry/=
tmp/emacs=C2=A0=C2=BB
>> | make[1]=C2=A0: on entre dans le r=C3=A9pertoire =C2=AB=C2=A0/home/thie=
rry/tmp/emacs=C2=A0=C2=BB
>> | ***
>> | *** "make all" failed with exit status 2.
>> | ***
>> | *** You could try to:
>> | *** - run "make bootstrap", which might fix the problem
>> | *** - run "make V=3D1", which displays the full commands invoked by ma=
ke,
>> | ***   to further investigate the problem
>> | ***
>> | make[1]: *** [Makefile:414 : advice-on-failure] Erreur 2
>> | make[1]=C2=A0: on quitte le r=C3=A9pertoire =C2=AB=C2=A0/home/thierry/=
tmp/emacs=C2=A0=C2=BB
>> | make: *** [Makefile:370 : all] Erreur 2
>> `----
>>=20
>> So ./configure is finding tree-sitter but not make.
>
> More accurately, temacs cannot find tree-sitter when it runs from Make.
>
>> NOTE: The only way I found to install tree-sitter was cloning from
>> github and run make && make install.
>
> When you do that, where are libtree-sitter.so and libtree-sitter.so.0
> installed? in which directory on your system?  Is that directory the same=
 as
> the one where you have the other shared libraries used by Emacs, like the
> image libraries or GnuTLS?

No, these files are installed in /usr/local/lib.

=2D-=20
Thierry

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmN/MR0THHRoaWV2b2xA
cG9zdGVvLm5ldAAKCRAOxW0UHRbvk11yDACFghghCkcQJt8V4skm9iRTUEZJkhP/
xC9+6tRgUjrKntOGrcksgiIjlLBsBMDjGABUxY0IHq6l2MsByUUNHar0D0pGWnm3
ImErseRVkGjwkwnLl0qkgz0n37NoRhAb4c4klqy+1jnWcmMbZMtCnjlMd1BEjh6o
8/8hEsvrb53QJBdonZ2Gm8jAkGwQBQ+G3DHN2u5tFt4TIsI/E7EeGMBL/h0iX31N
mtA2XOBtwkvVLZ06m61mtVmzrnnaKu3RfMVDwfkTKnIRiCDZb1KxDWOXezXDEh/S
kwnwwbBYOO9GLazChm9wbZ2dfLK+pqmRU8KIztUEg0mhAVzCy60zzDuT0LK8scHD
WktkvbJWkEwnErwuLJ9gyPXIituO1Ms0UImS0d4TFWPPMkVIjj87cGUBZqndOs91
rYCT34Luf8N2FnsDCrdcKjSEwwo7xZ2+cRI4h5Ww1aL3BLiaUIkBmBma2lCfIQ/K
OFQcRfPa1T/b2sM7fB+R4gJMEZ4NXGaXVjc=
=tsTz
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at 59532 <at> debbugs.gnu.org:


Received: (at 59532) by debbugs.gnu.org; 24 Nov 2022 08:03:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 24 03:03:47 2022
Received: from localhost ([127.0.0.1]:57112 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oy7D0-0004Lj-VC
	for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 03:03:47 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59380)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1oy7D0-0004LY-0D
 for 59532 <at> debbugs.gnu.org; Thu, 24 Nov 2022 03:03:46 -0500
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 <eliz@HIDDEN>)
 id 1oy7Cs-0004UX-Sc; Thu, 24 Nov 2022 03:03:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=ViiVU+w/ARL/ybmdaQpYkuHILajPiwTRhkRjKvRjfmY=; b=CvI8sQ78qqiicIRD0cgB
 8Wv9Q+bi4Ag6HYH+mLtPiulC86YUc9jBRWIl8VS84sQauhvte3KDJwdOD0nGkd9CGVGcG6/IEqEJy
 xfYyxdTRrmCTdxvgaWs/iAhP7qkGLpdwudV03N0jym8Gfhf2JWngDjQ4UdFgUUpZkx8/+0v6y9V3p
 lC5SGe4GPFC967sGK1uMcnhBjLeSVRjsquqOQoWcQjd+m8IgdWiH2olaYxuArLQmOTYkZ+tZ3PSSI
 XmaqWSu58t/+Ht6m9PG1ZW0E9SlVv7chvhyyb/vs0cnZMlli56eqjXatcHRZPSGzgN7/vxUpSQBKO
 NZejmmzChh7mQw==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oy7Cn-0002El-F7; Thu, 24 Nov 2022 03:03:35 -0500
Date: Thu, 24 Nov 2022 10:03:53 +0200
Message-Id: <837czkye1i.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Thierry Volpiatto <thievol@HIDDEN>
In-Reply-To: <87edtshm6z.fsf@HIDDEN> (message from Thierry Volpiatto on
 Thu, 24 Nov 2022 06:46:35 +0000)
Subject: Re: bug#59532: 28.2; Unable to build emacs with tree-sitter installed
References: <87edtshm6z.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59532
Cc: 59532 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Thierry Volpiatto <thievol@HIDDEN>
> Date: Thu, 24 Nov 2022 06:46:35 +0000
> 
> 
> Then I ran make and had this error:
> 
> ,----
> | cp -f temacs bootstrap-emacs
> | rm -f bootstrap-emacs.pdmp
> | ./temacs --batch  -l loadup --temacs=pbootstrap \
> |         --bin-dest /usr/local/bin/ --eln-dest /usr/local/lib/emacs/29.0.50/
> | ./temacs: error while loading shared libraries: libtree-sitter.so.0: cannot open shared object file: No such file or directory
> | make[2]: *** [Makefile:915 : bootstrap-emacs.pdmp] Erreur 127
> | make[2] : on quitte le répertoire « /home/thierry/tmp/emacs/src »
> | make[1]: *** [Makefile:544 : src] Erreur 2
> | make[1] : on quitte le répertoire « /home/thierry/tmp/emacs »
> | make[1] : on entre dans le répertoire « /home/thierry/tmp/emacs »
> | ***
> | *** "make all" failed with exit status 2.
> | ***
> | *** You could try to:
> | *** - run "make bootstrap", which might fix the problem
> | *** - run "make V=1", which displays the full commands invoked by make,
> | ***   to further investigate the problem
> | ***
> | make[1]: *** [Makefile:414 : advice-on-failure] Erreur 2
> | make[1] : on quitte le répertoire « /home/thierry/tmp/emacs »
> | make: *** [Makefile:370 : all] Erreur 2
> `----
> 
> So ./configure is finding tree-sitter but not make.

More accurately, temacs cannot find tree-sitter when it runs from Make.

> NOTE: The only way I found to install tree-sitter was cloning from
> github and run make && make install.

When you do that, where are libtree-sitter.so and libtree-sitter.so.0
installed? in which directory on your system?  Is that directory the same as
the one where you have the other shared libraries used by Emacs, like the
image libraries or GnuTLS?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Nov 2022 07:00:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 24 02:00:07 2022
Received: from localhost ([127.0.0.1]:56993 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oy6DO-0002kV-6K
	for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 02:00:07 -0500
Received: from lists.gnu.org ([209.51.188.17]:44940)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@HIDDEN>) id 1oy6DK-0002kJ-Vw
 for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 02:00:05 -0500
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 <thievol@HIDDEN>)
 id 1oy6DK-0006h5-M9
 for bug-gnu-emacs@HIDDEN; Thu, 24 Nov 2022 02:00:02 -0500
Received: from mout01.posteo.de ([185.67.36.65])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <thievol@HIDDEN>)
 id 1oy6DC-0002NJ-Rr
 for bug-gnu-emacs@HIDDEN; Thu, 24 Nov 2022 02:00:02 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 9FF47240028
 for <bug-gnu-emacs@HIDDEN>; Thu, 24 Nov 2022 07:59:51 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1669273191; bh=xqpppWFb/UVR4YarKqEvsFIo1db8AiLXHUoJ6fjnTVk=;
 h=From:To:Subject:Date:Autocrypt:OpenPGP:From;
 b=DKuokYSasvYfOKoD4Eo+kP1MOx2dKJucziyuKujfDbdI8JLnoN8fQxseJVAPLt2jJ
 uGas0v0B6qzSRz6wqi8CITG1FfqU/EbQ7FDywl3S9DOogIXMZbyewFW74xTVhHHmlt
 4is+6l6aJco42iPfoBJMbk4YmRlYO4HVwWEmwtvxg0rgttTE9z2jnZniZeh+VP7wx2
 WFOajL0Sp9Iqx5sMOnbgtLhdLiI3kUMFa6+dKoa4LMeHHmP0k3s7cAydmnCHNYKxfV
 PRYb5eLWOaIA1/O+23RxxHo8CiWKbCRlBxL11RAP5m0fvVp34+nygmFjaYlkE52I7Z
 14nvLhlpekiGw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4NHplV5tz8z6tqy
 for <bug-gnu-emacs@HIDDEN>; Thu, 24 Nov 2022 07:59:50 +0100 (CET)
From: Thierry Volpiatto <thievol@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.2; Unable to build emacs with tree-sitter installed
Date: Thu, 24 Nov 2022 06:46:35 +0000
Autocrypt: addr=thievol@HIDDEN; prefer-encrypt=mutual; keydata=
 mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA
 edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p
 kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb
 tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ
 GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC
 WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdm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3kSKXalLfs+vrVaoOjQeWrc0AtwFWHmt9JLfKrqF+Q2Q7jUidboWmazQM56E
 SJFPpPHmWq8k6DHspsFHOforLouTHJL1556IPne7IV2BGfWc0+xLxalZ8F5F+vnPF/OkrC1CD5iC
 KTjXKa2iZbcYdYQAiL6P8Ac8CgN6EkhpbxRtzrEgChuNGevdi/G/GHG4Zqrh6YFwIa/NHq2aVaFq
 5C1yNTMJd1FRjRzs5JPPlJKpYDnNx+MSp7UAEQEAAYkBtgQYAQoAIAIbDBYhBCPbcH0Te6954oP8
 cA7FbRQdFu+TBQJi9x1ZAAoJEA7FbRQdFu+To6QMAIcvUSiFwCIggxkmYy3ZY0QAMLmIPga8DNPM
 XbfSOBDb2KLGBd+FAA8p2GExpul4r6kOYnGogtojByHmVgrd30/3ZURTM8Vj51wwD05viMZccQHl
 Wd9J/qZIvhBJlJWYnwVxh+2Kg4/hkx7SGc7JJS5GS37+PFQOJHPGMxc+fe4Ty2FdjIOVf3P1Hov9
 K6yBI7Af66qqcL3aKJ4jJidRYN8sMaKOqEu4rcSpTxp8/3Ddbs9HezUgXeUzOLJMcEYFlvCyC8ZS
 l/QDZmpobKbxZ1JAqZM8lnmcZYSV7OsWnxJIYDV1gH5LTLj7bGswXaB4B+qkckihWkRZixu8q1IK
 0c/xwUzyF092uFRM/sQKrSmnwA1+hQiiIuEl4XVz5li0/TmMta3ijUM7GNbl2IjioTRxWWecwad1
 mNHvKTcXPsKDAbHFdLvQzurnroBHQV0jSPNLTP5Suo7RnLbehfg5INpGjToCUlrd2qQqgXW7h5qZ
 TgUq5UmBc7YZ0JYWQgPTbQ==
Message-ID: <87edtshm6z.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
OpenPGP: url=https://posteo.de/keys/thievol@HIDDEN; preference=encrypt
Received-SPF: pass client-ip=185.67.36.65; envelope-from=thievol@HIDDEN;
 helo=mout01.posteo.de
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


I started from a clean emacs directory (git clean -fdx).
Then I tried with a simple configuration after generating ./configure
(./autogen.sh).
./configure worked fine, finding properly tree-sitter and other libraries:

,----
|   Does Emacs use -lXaw3d?                                 no
|   Does Emacs use -lXpm?                                   yes
|   Does Emacs use -ljpeg?                                  yes
|   Does Emacs use -ltiff?                                  yes
|   Does Emacs use a gif library?                           yes -lgif
|   Does Emacs use a png library?                           yes -lpng16 -lz
|   Does Emacs use -lrsvg-2?                                yes
|   Does Emacs use -lwebp?                                  no
|   Does Emacs use -lsqlite3?                               yes
|   Does Emacs use cairo?                                   yes
|   Does Emacs use -llcms2?                                 yes
|   Does Emacs use imagemagick?                             no
|   Does Emacs use native APIs for images?                  no
|   Does Emacs support sound?                               yes
|   Does Emacs use -lgpm?                                   yes
|   Does Emacs use -ldbus?                                  yes
|   Does Emacs use -lgconf?                                 no
|   Does Emacs use GSettings?                               yes
|   Does Emacs use a file notification library?             yes -lglibc (in=
otify)
|   Does Emacs use access control lists?                    yes -lacl
|   Does Emacs use -lselinux?                               yes
|   Does Emacs use -lgnutls?                                yes
|   Does Emacs use -lxml2?                                  yes
|   Does Emacs use -lfreetype?                              yes
|   Does Emacs use HarfBuzz?                                yes
|   Does Emacs use -lm17n-flt?                              yes
|   Does Emacs use -lotf?                                   yes
|   Does Emacs use -lxft?                                   no
|   Does Emacs use -lsystemd?                               yes
|   Does Emacs use -ljansson?                               yes
|   Does Emacs use -ltree-sitter?                           yes
|   Does Emacs use the GMP library?                         yes
|   Does Emacs directly use zlib?                           yes
|   Does Emacs have dynamic modules support?                yes
|   Does Emacs use toolkit scroll bars?                     yes
|   Does Emacs support Xwidgets?                            no
|   Does Emacs have threading support in lisp?              yes
|   Does Emacs support the portable dumper?                 yes
|   Does Emacs support legacy unexec dumping?               no
|   Which dumping strategy does Emacs use?                  pdumper
|   Does Emacs have native lisp compiler?                   no
|   Does Emacs use version 2 of the X Input Extension?      yes
|   Does Emacs generate a smaller-size Japanese dictionary? no
`----

Then I ran make and had this error:

,----
| cp -f temacs bootstrap-emacs
| rm -f bootstrap-emacs.pdmp
| ./temacs --batch  -l loadup --temacs=3Dpbootstrap \
|         --bin-dest /usr/local/bin/ --eln-dest /usr/local/lib/emacs/29.0.5=
0/
| ./temacs: error while loading shared libraries: libtree-sitter.so.0: cann=
ot open shared object file: No such file or directory
| make[2]: *** [Makefile:915 : bootstrap-emacs.pdmp] Erreur 127
| make[2]=C2=A0: on quitte le r=C3=A9pertoire =C2=AB=C2=A0/home/thierry/tmp=
/emacs/src=C2=A0=C2=BB
| make[1]: *** [Makefile:544 : src] Erreur 2
| make[1]=C2=A0: on quitte le r=C3=A9pertoire =C2=AB=C2=A0/home/thierry/tmp=
/emacs=C2=A0=C2=BB
| make[1]=C2=A0: on entre dans le r=C3=A9pertoire =C2=AB=C2=A0/home/thierry=
/tmp/emacs=C2=A0=C2=BB
| ***
| *** "make all" failed with exit status 2.
| ***
| *** You could try to:
| *** - run "make bootstrap", which might fix the problem
| *** - run "make V=3D1", which displays the full commands invoked by make,
| ***   to further investigate the problem
| ***
| make[1]: *** [Makefile:414 : advice-on-failure] Erreur 2
| make[1]=C2=A0: on quitte le r=C3=A9pertoire =C2=AB=C2=A0/home/thierry/tmp=
/emacs=C2=A0=C2=BB
| make: *** [Makefile:370 : all] Erreur 2
`----

So ./configure is finding tree-sitter but not make.

NOTE: The only way I found to install tree-sitter was cloning from
github and run make && make install.

Thanks.



In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, Motif Version 2.3.8, cairo=
 version 1.16.0)
 of 2022-09-12 built on IPad-S340
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Linux Mint 20.3

Configured using:
 'configure CFLAGS=3D-O8 --with-mailutils --with-cairo --without-dbus
 --without-gconf --without-gsettings --with-x-toolkit=3Dmotif'

Configured features:
ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE
XIM XPM MOTIF ZLIB

Important settings:
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: =EE=A4=88

Minor modes in effect:
  global-undo-tree-mode: t
  undo-tree-mode: t
  psession-mode: t
  psession-savehist-mode: t
  global-git-gutter-mode: t
  display-time-mode: t
  winner-mode: t
  helm-epa-mode: t
  helm-descbinds-mode: t
  override-global-mode: t
  helm-adaptive-mode: t
  helm-mode: t
  helm-minibuffer-history-mode: t
  helm-ff-icon-mode: t
  shell-dirtrack-mode: t
  helm-popup-tip-mode: t
  async-bytecomp-package-mode: t
  dired-async-mode: t
  minibuffer-depth-indicate-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow epa-mail face-remap emacsbug helm-command esh-toggle em-unix
em-term term disp-table ehelp em-script em-prompt em-ls em-hist em-pred
em-glob em-cmpl em-dirs esh-var em-basic em-banner em-alias esh-mode
smerge-mode whitespace cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs tabify w3m-symbol
w3m-filter w3m-form w3m-cookie w3m-tabmenu w3m-session w3m-search
helm-w3m w3m-bookmark w3m doc-view jka-compr timezone w3m-hist w3m-fb
bookmark-w3m w3m-ems w3m-favicon w3m-image tab-line w3m-proc w3m-util
helm-apt helm-firefox make-mode tramp-cmds dired-x tramp-cache epa-file
image-file image-converter char-fold tramp-archive tramp-gvfs
helm-x-files helm-for-files addressbook-bookmark tv-mu4e-config
mu4e-contrib mu4e-patch mu4e mu4e-org mu4e-main mu4e-view gnus-art mm-uu
mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo
gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7
netrc nnoo gnus-spec gnus-int gnus-range gnus-win mu4e-headers
mu4e-compose mu4e-draft mu4e-actions smtpmail sendmail mu4e-search
mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message shr kinsoku svg
flow-fill hl-line mu4e-contacts mu4e-update mu4e-folders mu4e-server
mu4e-context mu4e-obsolete mu4e-vars mu4e-helpers mu4e-config ido
vc-filewise vc-rcs conf-mode ledger-config ledger-mode ledger-check
ledger-texi ledger-test ledger-sort ledger-report ledger-reconcile
ledger-occur ledger-fonts ledger-fontify ledger-state ledger-complete
ledger-schedule ledger-init ledger-xact ledger-post ledger-exec
ledger-navigate eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg
esh-module esh-groups esh-util ledger-context ledger-commodities
ledger-regex bug-reference flymake-shellcheck sh-script smie executable
naquadah-theme view solar cal-dst holidays hol-loaddefs tv-utils osm dom
yaml-mode undo-tree diff queue psession frameset log-view pcvs-util
bash-completion cl-indent pcase ffap autocrypt-message message rmc puny
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader autocrypt-gnus gnus nnheader gnus-util
rmail rmail-loaddefs rfc2047 rfc2045 mail-utils mm-util mail-prsvr
autocrypt-mu4e autocrypt ietf-drums config-w3m git-gutter mule-util appt
diary-lib diary-loaddefs gud wdired dired-extension org-config
ob-gnuplot org-crypt net-utils time winner autotest-mode autoconf-mode
use-package-ensure flymake-proc flymake project warnings thingatpt woman
man ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help
ediff-init ediff-util init-helm helm-ls-git vc-git diff-mode vc
vc-dispatcher helm-fd epa derived epg rfc6068 epg-config helm-epa
helm-imenu imenu helm-elisp-package helm-find helm-org org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint
org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol
rx org-keys oc org-compat advice org-macs org-loaddefs cal-menu calendar
cal-loaddefs helm-external isl helm-descbinds helm-wikipedia
all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons cus-edit
wid-edit helm-ipython helm-elisp helm-eval edebug backtrace find-func
python tramp-sh use-package-bind-key bind-key popup helm-bookmark
helm-net xml helm-info bookmark pp helm-adaptive diminish helm-mode
helm-misc helm-files image-dired image-mode exif filenotify tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat shell
pcomplete parse-time iso8601 time-date ls-lisp helm-buffers helm-occur
helm-tags helm-locate helm-grep wgrep-helm wgrep grep compile
text-property-search comint ring helm-regexp format-spec ansi-color
helm-utils helm-help helm-types use-package-diminish
helm-extensions-autoloads helm-config helm-autoloads helm
helm-global-bindings helm-easymenu helm-core easy-mmode async-bytecomp
helm-source helm-multi-match helm-lib dired-async dired-aux dired
dired-loaddefs async cl-extra help-mode use-package-core mb-depth server
edmacro kmacro avoid cus-load finder-inf package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
info w3m-load iso-transl tooltip eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads inotify lcms2 dynamic-setting
font-render-setting cairo motif x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 936514 82077)
 (symbols 48 46491 5)
 (strings 32 288057 33568)
 (string-bytes 1 14317641)
 (vectors 16 95342)
 (vector-slots 8 1922696 204644)
 (floats 8 4501 3446)
 (intervals 56 23326 4714)
 (buffers 992 167))
<#secure method=3Dpgpmime mode=3Dsign>

--=20
Thierry




Acknowledgement sent to Thierry Volpiatto <thievol@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#59532; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 4 Dec 2022 12:00:02 UTC

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