GNU bug report logs -
#59532
28.2; Unable to build emacs with tree-sitter installed
Previous Next
Reported by: Thierry Volpiatto <thievol <at> posteo.net>
Date: Thu, 24 Nov 2022 07:01:02 UTC
Severity: normal
Found in version 28.2
Done: Yuan Fu <casouri <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Thierry Volpiatto <thievol <at> posteo.net>
>> 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.
Yes, of course I can do that but it seems weird that ./configure locate
these files and make doesn't, isn't it?
--
Thierry
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.