unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <lists@traduction-libre.org>
To: Alan Third <alan@idiocy.org>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)
Date: Sat, 21 Aug 2021 13:43:17 +0900	[thread overview]
Message-ID: <3DF825AA-2015-436F-A635-B5C4CBAA6BA0@traduction-libre.org> (raw)
In-Reply-To: <E9BEB5F6-4524-43B4-A3F4-64CB3BFDE065@traduction-libre.org>



> On Aug 20, 2021, at 15:29, Jean-Christophe Helary <lists@traduction-libre.org> wrote:
> 
> 
> 
>> On Aug 18, 2021, at 4:45, Alan Third <alan@idiocy.org> wrote:
>> 
>> On Tue, Aug 17, 2021 at 09:59:48AM +0900, Jean-Christophe Helary wrote:
>>> 
>>> 
>>>> On Aug 17, 2021, at 2:18, Alan Third <alan@idiocy.org> wrote:
>>>> 
>>>> On Sun, Aug 15, 2021 at 03:10:13PM +0900, Jean-Christophe Helary wrote:
>>>>> On a recently checked out master branch I keep bumping into this error message:
>>>>> 
>>>>> checking for gcc_jit_context_acquire in -lgccjit... no
>>>>> configure: error: ELisp native compiler was requested, but libgccjit was not found.
>>>>> Please try installing libgccjit or a similar package.
>>>>> 
>>>>> even though I have installed, reinstalled and reinstalled from source said libgccjit (with brew).
>>>>> 
>>>>> I guess there is something trivial I need to do to fix that, but I can't figure it out.
>>>> 
>>>> Can you please run:
>>>> 
>>>>  find `brew --prefix --installed libgccjit 2>/dev/null`/ -name \*.so
>>>> 
>>>> and let us know what the result is?
>>> 
>>> Et voilà:
>>> 
>>> /usr/local/opt/libgccjit//lib/gcc/11/libgccjit.so
>> 
>> Unfortunately that's what I was expecting...
>> 
>> Can you try the attached patch and see if it makes any difference?
> 
> Thank you Alan.
> 
> It worked. I was able to configure/make and install emacs.
> 
> Launch seems a bit faster (I guess that's one intended consequence of the development).

Apologies. I guess I was under the influence of my second vaccine shot... I forgot to use the --with-native-compilation when I reconfigured after patching...

And the result, with the patch and the flag, is:

checking for gcc_jit_context_acquire in -lgccjit... no
configure: error: ELisp native compiler was requested, but libgccjit was not found.
Please try installing libgccjit or a similar package.

:(

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




  reply	other threads:[~2021-08-21  4:43 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15  6:10 ./configure --with-native-compilation on macos (11.5.2 Big Sur) Jean-Christophe Helary
2021-08-16 17:18 ` Alan Third
2021-08-17  0:59   ` Jean-Christophe Helary
2021-08-17  1:02     ` Jean-Christophe Helary
2021-08-17 19:45     ` Alan Third
2021-08-20  6:29       ` Jean-Christophe Helary
2021-08-21  4:43         ` Jean-Christophe Helary [this message]
2021-08-21  9:47           ` Alan Third
2021-09-05 13:07             ` Alan Third
2021-09-05 13:22               ` Jean-Christophe Helary
2021-09-06  3:24                 ` Alan Third
2021-09-06  3:46                   ` Jean-Christophe Helary
2021-09-06  6:27                     ` Jean-Christophe Helary
2021-09-06  6:43                       ` Jean-Christophe Helary
2021-09-06  7:10                         ` Jean-Christophe Helary
2021-09-06  7:34                           ` Stefan Kangas
2021-09-06  7:38                             ` Jean-Christophe Helary
2021-09-06  7:52                               ` Stefan Kangas
2021-09-06 10:33                         ` Eli Zaretskii
2021-09-06 12:12                           ` Jean-Christophe Helary
2021-09-06 12:34                             ` Eli Zaretskii
2021-09-06  9:45                       ` Jean-Christophe Helary
2021-09-06 20:01                         ` Alan Third
2021-09-06 23:50                           ` Jean-Christophe Helary
2021-09-13 22:55                             ` Jean-Christophe Helary
2021-09-08  7:34                           ` Lars Ingebrigtsen
2021-09-08 15:31                         ` Alan Third
2021-09-08 20:59                           ` Alan Third
2021-09-08 21:15                             ` Alan Third
2021-09-08 23:44                           ` Jean-Christophe Helary
2021-09-09 21:07                             ` Alan Third
2021-09-10  0:35                               ` Jean-Christophe Helary
2021-09-10 20:53                                 ` Alan Third
2021-09-11  5:54                                   ` Eli Zaretskii
2021-09-11  0:30                               ` Jean-Christophe Helary
2021-09-11 16:17                                 ` Alan Third
2021-09-12  8:47                                   ` Jean-Christophe Helary
2021-09-12 11:59                                     ` Alan Third
2021-09-13 12:06                                       ` Jean-Christophe Helary
2021-09-13 18:19                                         ` Alan Third
2021-09-13 18:42                                           ` Alan Third
2021-09-13 22:04                                             ` Jean-Christophe Helary
2021-09-13 22:08                                               ` Alan Third
2021-09-13 22:24                                                 ` Jean-Christophe Helary
2021-09-13 22:56                                                   ` Jean-Christophe Helary
2021-09-14 15:22                                           ` Alan Third
2021-09-14 17:10                                             ` Jean-Christophe Helary

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=3DF825AA-2015-436F-A635-B5C4CBAA6BA0@traduction-libre.org \
    --to=lists@traduction-libre.org \
    --cc=alan@idiocy.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).