emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)


From: Jean-Christophe Helary
Subject: Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)
Date: Sat, 21 Aug 2021 13:43:17 +0900


> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]