[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem compiling Emacs
From: |
Stefan Monnier |
Subject: |
Re: Problem compiling Emacs |
Date: |
Fri, 17 Dec 2021 08:22:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Gian Uberto Lauri [2021-12-17 12:02:01] wrote:
>>>>>> "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
>
> The --includedir=/usr/lib/gcc/x86_64-linux-gnu/11/include/ option seems not
> to solve the problem.
Debian also places it there and that didn't cause a problem.
I wonder what's going on,
Stefan