From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter api Date: Sat, 04 Sep 2021 18:33:35 +0300 Message-ID: <837dfwwe28.fsf@gnu.org> References: <83r1f7hydn.fsf@gnu.org> <95F37923-5BF9-4D81-B361-267CF119FBCA@gmail.com> <735AF34C-FD18-4A6A-A99D-E5D8EB4DE4F3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18832"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, theo@thornhill.no, cpitclaudel@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, stephen_leake@stephe-leake.org To: =?utf-8?Q?Tu=E1=BA=A5n-Anh_Nguy=E1=BB=85n?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 04 17:34:50 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mMXgw-0004kB-IG for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Sep 2021 17:34:50 +0200 Original-Received: from localhost ([::1]:33174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMXgv-0003Ly-9h for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Sep 2021 11:34:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMXfl-0001ym-Sn for emacs-devel@gnu.org; Sat, 04 Sep 2021 11:33:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34906) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMXfl-0005H5-GS; Sat, 04 Sep 2021 11:33:37 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2306 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMXfl-0006jh-2V; Sat, 04 Sep 2021 11:33:37 -0400 In-Reply-To: (message from =?utf-8?Q?Tu=E1=BA=A5n-Anh_Nguy=E1=BB=85n?= on Sat, 4 Sep 2021 22:14:06 +0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273902 Archived-At: > From: Tuấn-Anh Nguyễn > Date: Sat, 4 Sep 2021 22:14:06 +0700 > Cc: Clément Pit-Claudel , > Theodor Thornhill , emacs-devel , > Stefan Monnier , Eli Zaretskii , > Stephen Leake > > On Sat, Sep 4, 2021 at 1:44 PM Yuan Fu wrote: > > You can find the code at https://github.com/casouri/emacs.git, in “ts” branch. As long as tree-sitter library is in the standard path, Emacs will compile with tree-sitter support. > > I'm not on a system with `libtree-sitter` available, so I built and installed it > from source: > > export PREFIX=/opt/local > make > sudo make install > > It installed to `/opt/local/include` and `/opt/local/lib`, which are already on > my standard include/lib paths. However, I'm getting this error: > > configure: error: The following required libraries were not found: > tree-sitter Does config.log tell anything useful?