[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree-sitter api
From: |
Yuan Fu |
Subject: |
Re: Tree-sitter api |
Date: |
Sat, 4 Sep 2021 08:39:34 -0700 |
> On Sep 4, 2021, at 8:14 AM, Tuấn-Anh Nguyễn <ubolonton@gmail.com> wrote:
>
> On Sat, Sep 4, 2021 at 1:44 PM Yuan Fu <casouri@gmail.com> 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
>
> Do you have more detailed instructions? For example, should the include/lib
> paths/flags be set to some special values?
Not really, on my machine, tree-sitter is also installed in /opt/local, but I
don’t see any problem building Emacs. Maybe give --libdir=DIR and
--includedir=DIR a try and see if that helps.
Yuan
- Re: Tree-sitter api, (continued)
- Re: Tree-sitter api, Tuấn-Anh Nguyễn, 2021/09/17
- Re: Tree-sitter api, Stefan Monnier, 2021/09/17
- Re: Tree-sitter api, Tuấn-Anh Nguyễn, 2021/09/17
- Re: Tree-sitter api, Stefan Monnier, 2021/09/17
- Re: Tree-sitter api, Tuấn-Anh Nguyễn, 2021/09/17
- Re: Tree-sitter api, Stefan Monnier, 2021/09/17
- Re: Tree-sitter api, Tuấn-Anh Nguyễn, 2021/09/17
Re: Tree-sitter api, Tuấn-Anh Nguyễn, 2021/09/04
Re: Tree-sitter api,
Yuan Fu <=
Re: Tree-sitter api, Theodor Thornhill, 2021/09/05