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: Thu, 24 Nov 2022 10:47:08 +0000 Message-ID: <875yf4hbgr.fsf@posteo.net> References: <87edtshm6z.fsf@posteo.net> <837czkye1i.fsf@gnu.org> <87a64ghgwy.fsf@posteo.net> <83zgcgwt70.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="23506"; 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 Thu Nov 24 11:52:22 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 1oy9qA-0005re-EB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Nov 2022 11:52:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oy9pu-0004Ug-Ui; Thu, 24 Nov 2022 05:52:06 -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 1oy9pt-0004U7-F3 for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 05:52:05 -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 1oy9pq-0007yO-Hz for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 05:52:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oy9pq-0006xL-Dv for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 05:52: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: Thu, 24 Nov 2022 10:52: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.166928710526705 (code B ref 59532); Thu, 24 Nov 2022 10:52:02 +0000 Original-Received: (at 59532) by debbugs.gnu.org; 24 Nov 2022 10:51:45 +0000 Original-Received: from localhost ([127.0.0.1]:57445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy9pY-0006we-L9 for submit@debbugs.gnu.org; Thu, 24 Nov 2022 05:51:45 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:35927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy9pV-0006wN-86 for 59532@debbugs.gnu.org; Thu, 24 Nov 2022 05:51:43 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 63E8A24002C for <59532@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== Original-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) In-reply-to: <83zgcgwt70.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:248849 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Thierry Volpiatto >> Cc: 59532@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----- --=-=-=--