[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem compiling Emacs
From: |
Eli Zaretskii |
Subject: |
Re: Problem compiling Emacs |
Date: |
Fri, 17 Dec 2021 14:50:37 +0200 |
> Date: Fri, 17 Dec 2021 12:02:01 +0100
> Cc: help-gnu-emacs@gnu.org
> From: "Gian Uberto Lauri" <saint@eng.it>
>
> >>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
>
> EZ> Look in config.log for a more detailed report about the problem
> EZ> that failed the test program run by the configure script.
>
> I think the problem is this:
>
> configure:18443: checking libgccjit.h usability
> configure:18443: gcc -c -g3 -O2 -pthread -isystem /usr/include/librsvg-2.0
> -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem
> /usr/include/blkid -isystem /usr/include/cairo -isystem /usr/include/glib-2.0
> -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem
> /usr/include/pixman-1 -isystem /usr/include/uuid -isystem
> /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem
> /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem
> /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1
> -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem
> /usr/include/libpng16 conftest.c >&5
> conftest.c:195:10: fatal error: libgccjit.h: No such file or directory
> 195 | #include <libgccjit.h>
> | ^~~~~~~~~~~~~
>
> while Ubuntu places the file in
>
> /usr/lib/gcc/x86_64-linux-gnu/11/include/libgccjit.h
You should use the CPPFLAGS variable to add include directories to the
include path. See "./configure --help" for more details.