unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Thierry Volpiatto <thievol@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: Dependencies for native compiling emacs not found
Date: Thu, 23 Dec 2021 18:20:43 +0200	[thread overview]
Message-ID: <83bl17uwbo.fsf@gnu.org> (raw)
In-Reply-To: <874k6z1fo9.fsf@posteo.net> (message from Thierry Volpiatto on Thu, 23 Dec 2021 15:51:05 +0000)

> From: Thierry Volpiatto <thievol@posteo.net>
> Cc: emacs-devel@gnu.org
> Date: Thu, 23 Dec 2021 15:51:05 +0000
> 
> > There should be stuff before that, which shows the compilation
> > command of a test program, the error message from the compilation
> > attempt, the program that failed to compile, etc.  The line you show
> > is the last line of that interesting part.
> >
> > If you cannot figure out what's related, sure, post the entire log.
> 
> Ok, here the whole file attached, thanks.

Thanks.  Here's the important bit:

> configure:19041: checking for gcc_jit_context_acquire in -lgccjit
> configure:19066: gcc -o conftest  -O8 -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 -lgccjit  -lX11   -lcairo >&5 
> /usr/bin/ld: cannot find -lgccjit
> collect2: error: ld returned 1 exit status

So the linker cannot find the libgccjit library.  Do you have it, and
if so, is it installed in the directory where the linker looks for
libraries, for example where you have libpng16, libcairo, and others.

IOW, it sounds like your libgccjit installation is incomplete for some
reason.



  parent reply	other threads:[~2021-12-23 16:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-23  9:30 Dependencies for native compiling emacs not found Thierry Volpiatto
2021-12-23  9:57 ` Eli Zaretskii
2021-12-23 12:56   ` Thierry Volpiatto
2021-12-23 13:17     ` Óscar Fuentes
2021-12-23 14:24     ` Eli Zaretskii
2021-12-23 15:51       ` Thierry Volpiatto
2021-12-23 16:15         ` Óscar Fuentes
2021-12-23 17:29           ` Thierry Volpiatto
2021-12-23 20:17             ` Óscar Fuentes
2021-12-23 20:49               ` Thierry Volpiatto
2021-12-23 16:20         ` Eli Zaretskii [this message]
2021-12-23 17:37           ` Thierry Volpiatto
2021-12-23 17:58             ` Manuel Uberti
2021-12-23 18:16             ` Andreas Schwab
2021-12-23 18:26               ` Thierry Volpiatto
2021-12-23 18:20             ` Eli Zaretskii
2021-12-23 18:27               ` Thierry Volpiatto
2021-12-23 19:16                 ` Eli Zaretskii
2021-12-23 19:36                   ` Thierry Volpiatto
2021-12-23 19:43                     ` Eli Zaretskii
2021-12-23 20:08                       ` Thierry Volpiatto
2021-12-23 20:19                         ` Eli Zaretskii

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=83bl17uwbo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=thievol@posteo.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).