From: Thierry Volpiatto <thievol@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Dependencies for native compiling emacs not found
Date: Thu, 23 Dec 2021 18:27:08 +0000 [thread overview]
Message-ID: <87fsqjp3r1.fsf@posteo.net> (raw)
In-Reply-To: <838rwbuqsg.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Thierry Volpiatto <thievol@posteo.net>
>> Cc: emacs-devel@gnu.org
>> Date: Thu, 23 Dec 2021 17:37:13 +0000
>>
>> >> -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.
>>
>> Hmm, after looking at the commands Oscar asked, it seems the GCC version
>> is 9.3.0, is it compatible with the libgccjit-10-dev?
>
> No, you need to either install GCC 10 or libgccjit-9-dev.
Ok, installing libgccjit-9-dev like Andreas suggested worked, so IIUC we
need a libgccjit version compatible with the gcc installed
e.g. libgccjit-10 with gcc-10 right?
Don't know why ubuntu install by default libgccgit 10, 8 and 7 but the 9
version which is the one needed with the gcc 9 version which is the one provided.
However I didn't find how to upgrade to gcc-10, installing it as
suggested by Manuel doesn't suffice apparently, gcc -v still return gcc
version 9.3.0. Perhaps update-alternatives?
--
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 686 bytes --]
next prev parent reply other threads:[~2021-12-23 18:27 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
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 [this message]
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=87fsqjp3r1.fsf@posteo.net \
--to=thievol@posteo.net \
--cc=eliz@gnu.org \
--cc=emacs-devel@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.
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).