GNU bug report logs - #58411
29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file not found when compiling Emacs

Previous Next

Package: emacs;

Reported by: Daniel Martín <mardani29 <at> yahoo.es>

Date: Mon, 10 Oct 2022 11:07:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Martín <mardani29 <at> yahoo.es>
To: 58411 <at> debbugs.gnu.org
Subject: bug#58411: 29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file not found when compiling Emacs
Date: Mon, 10 Oct 2022 13:06:13 +0200
[Message part 1 (text/plain, inline)]
When trying to compile the Emacs Treesiter branch, I got the following
compilation error:

In file included from emacs.c:140:
./treesit.h:23:10: fatal error: 'tree_sitter/api.h' file not found
#include <tree_sitter/api.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.

The reason is that the Makefile is not referring to the correct C
compiler flags because of a typo.  I've attached a patch to correct the
problem.

Thanks.

[0001-Fix-typo-in-Makefile.in.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.