From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#59532: 28.2; Unable to build emacs with tree-sitter installed Date: Sun, 04 Dec 2022 10:41:00 +0000 Message-ID: <87lennigzq.fsf@posteo.net> References: <87edtshm6z.fsf@posteo.net> <837czkye1i.fsf@gnu.org> <87a64ghgwy.fsf@posteo.net> <83zgcgwt70.fsf@gnu.org> <875yf4hbgr.fsf@posteo.net> <83r0xswre3.fsf@gnu.org> <87pmczio23.fsf@posteo.net> <83lennbi4k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18472"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59532@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 04 11:47:30 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p1mWv-0004aQ-TA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Dec 2022 11:47:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1mWZ-0005AC-DZ; Sun, 04 Dec 2022 05:47:07 -0500 Original-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 ) id 1p1mWV-000581-8i for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 05:47:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1mWU-00079s-Mr for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 05:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1mWU-0001Zz-6O for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 05:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Dec 2022 10:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59532 X-GNU-PR-Package: emacs Original-Received: via spool by 59532-submit@debbugs.gnu.org id=B59532.16701507926060 (code B ref 59532); Sun, 04 Dec 2022 10:47:02 +0000 Original-Received: (at 59532) by debbugs.gnu.org; 4 Dec 2022 10:46:32 +0000 Original-Received: from localhost ([127.0.0.1]:56854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1mW0-0001Zg-9V for submit@debbugs.gnu.org; Sun, 04 Dec 2022 05:46:32 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:41803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1mVx-0001Za-J1 for 59532@debbugs.gnu.org; Sun, 04 Dec 2022 05:46:30 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BCCF0240104 for <59532@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== Original-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) In-reply-to: <83lennbi4k.fsf@gnu.org> Autocrypt: addr=thievol@posteo.net; 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/xwDsVtFB0W75MFAmL3HCoACgkQDsVtFB0W75OVEAv/f6XxmtIFz08fUb8h Bp/zJP6IC4/rhhh+0GMRIRzLN8DK0jV8JCzYdFHiRJOy2lNIOpmrrCmjRRxferc2G42+ePFIsslx hU46VSz1Z83NwIG3mpdYNV5WUTUdgzxExHTNTFCd7NKv0nlHKQa OpenPGP: url=https://posteo.de/keys/thievol@posteo.net.asc; preference=encrypt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249917 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Thierry Volpiatto >> Cc: 59532@debbugs.gnu.org >> Date: Sun, 04 Dec 2022 07:59:21 +0000 >>=20 >> Eli Zaretskii writes: >>=20 >> >> From: Thierry Volpiatto >> >> Cc: 59532@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----- --=-=-=--