From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Problem compiling Emacs
Date: Fri, 17 Dec 2021 14:50:37 +0200 [thread overview]
Message-ID: <837dc3e6oy.fsf@gnu.org> (raw)
In-Reply-To: <25020.28201.417574.163831@mail.eng.it> (saint@eng.it)
> 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.
next prev parent reply other threads:[~2021-12-17 12:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-15 8:42 Problem compiling Emacs Gian Uberto Lauri
2021-12-15 18:03 ` Glenn Morris
2021-12-16 15:56 ` Gian Uberto Lauri
2021-12-16 16:59 ` Eli Zaretskii
2021-12-17 11:02 ` Gian Uberto Lauri
2021-12-17 12:50 ` Eli Zaretskii [this message]
2021-12-17 13:22 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-12-17 13:26 ` Po Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837dc3e6oy.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).