From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Problem compiling Emacs Date: Fri, 17 Dec 2021 14:50:37 +0200 Message-ID: <837dc3e6oy.fsf@gnu.org> References: <25017.43640.402510.992878@mail.eng.it> <25019.25007.404814.75827@mail.eng.it> <83sfusfpts.fsf@gnu.org> <25020.28201.417574.163831@mail.eng.it> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32212"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 17 13:56:34 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1myCmk-00087R-F0 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 17 Dec 2021 13:56:30 +0100 Original-Received: from localhost ([::1]:52446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myCmj-0007Ap-Cv for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 17 Dec 2021 07:56:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myChK-0002eG-18 for help-gnu-emacs@gnu.org; Fri, 17 Dec 2021 07:50:54 -0500 Original-Received: from [2001:470:142:3::e] (port=36408 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myChJ-0000zi-LP for help-gnu-emacs@gnu.org; Fri, 17 Dec 2021 07:50:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9gbjTLDIMe2DaVV4G8bmAgnGl3y3rWmh2EoutkDAyu8=; b=raXDT2/lfX+D IQU6wLdRpTTVIoeNRTyAExTtoa9lEpOJPWhAj7FRxeEIBdfx/Ym8jUlgdx6FlhJdxjKDP3MGNJIFg QpQ3BkjTsDjI/dxeM6cinF+fB6ETMXQbehgtsdfDmHSy6AgM/gCpu1USFgd1AzHY6yhkiQWVT5Thv zTpQr+FyzBhT2jmbXUUdjvD+/buNUq07NrQdNKp37/mCSEecok7ekqkEXAX5CpT/zmMMD+lS+WYb2 +gr14P2wCXHjTFQIShKVopTnc7tHsNoRQws/tfBE8T1ew7gfr4LiZ3ZKS9dpoXeS2+CaywyE+GF5C L5S2177MW1a2x+G5iFjtLg==; Original-Received: from [87.69.77.57] (port=1772 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myChH-0002fK-V4 for help-gnu-emacs@gnu.org; Fri, 17 Dec 2021 07:50:52 -0500 In-Reply-To: <25020.28201.417574.163831@mail.eng.it> (saint@eng.it) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134984 Archived-At: > Date: Fri, 17 Dec 2021 12:02:01 +0100 > Cc: help-gnu-emacs@gnu.org > From: "Gian Uberto Lauri" > > >>>>> "EZ" == Eli Zaretskii 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 > | ^~~~~~~~~~~~~ > > 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.