post the latest config.log, it should be clearer then.

On Tue, 8 Feb 2022, 18:43 modp...@gmail.com, <modpr...@gmail.com> wrote:

> I don't recall installing arb before, maybe it was installed as part of
> some package.
> How can I circumvent the error now? I tried to reinstall arb using brew,
> but did not help.
> I still get this error when building Sage.
> On Tuesday, February 8, 2022 at 1:33:38 PM UTC+1 dim...@gmail.com wrote:
>
>> You already have (or had) arb installed in /usr/local/, as the log
>> file tells you:
>>
>>
>> gamma.c:843:9: note: did you mean 'arb_rising_ui'?
>> /usr/local/include/arb.h:572:6: note: 'arb_rising_ui' declared here
>>
>> Also, note that after re-installing gmp you might need to rebuild
>> other packages which depend on it: mpfr, flint, etc...
>>
>>
>> On Tue, Feb 8, 2022 at 12:27 PM modp...@gmail.com <modp...@gmail.com>
>> wrote:
>> >
>> > If I run "brew install --enable-bar gmp" it throws error that
>> --enable-bar does not exist.
>> > Anyway, I installed the C++ part of gmp as well. But now it fails in
>> building the arb package.
>> > I attach here the updated config and log.
>> >
>> > On Monday, February 7, 2022 at 11:10:32 PM UTC+1 dim...@gmail.com
>> wrote:
>> >>
>> >> On Mon, Feb 7, 2022 at 5:19 PM Dima Pasechnik <dim...@gmail.com>
>> wrote:
>> >> >
>> >> >
>> >> >
>> >> > On Mon, 7 Feb 2022, 17:12 Matthias Koeppe, <matthia...@gmail.com>
>> wrote:
>> >> >>
>> >> >> Yes, you can clear out /usr/local and start the build from scratch.
>> >> >>
>> >> >>
>> >> >> On Monday, February 7, 2022 at 4:05:49 AM UTC-8 modp...@gmail.com
>> wrote:
>> >> >>>
>> >> >>> So any ideas how to solve this without installing gmp and flint
>> from Homebrew? As I have already manually compiled and built them in my
>> machine.
>> >> >>>
>> >> >>> On Friday, February 4, 2022 at 9:37:40 PM UTC+1 modp...@gmail.com
>> wrote:
>> >> >>>>
>> >> >>>> I actually had both gmp and flint manually installed before. Can
>> I tell Sage somehow to use my local gmp and flint?
>> >> >
>> >> >
>> >> > your gmp is missing C++ part,
>> >> > which is a requirement for Sage.
>> >>
>> >> You can actually use Homebrew to build gmp (or any other package
>> >> there) from source, if that's what you must do,
>> >> using formula they provide for this.
>> >> (you already use gfortran from Homebrew, as far as one can see)
>> >> Namely, for gmp:
>> >>
>> >> brew install --enable-bar gmp
>> >>
>> >>
>> >> >
>> >> >>>> I had already issued:
>> >> >>>> source .homebrew-build-env
>> >> >>>> However, I didn't issue ./bootstrap before doing ./configure.
>> >> >>>>
>> >> >>>> On Friday, February 4, 2022 at 7:27:40 PM UTC+1 dim...@gmail.com
>> wrote:
>> >> >>>>>
>> >> >>>>> Try using flint from Homebrew instead:
>> >> >>>>>
>> >> >>>>> brew install flint
>> >> >>>>>
>> >> >>>>> (by the way, it seems that your gmp Homebrew installation is
>> broken -
>> >> >>>>> maybe try reinstalling it, from Homebrew?)
>> >> >>>>> And don't forget executing
>> >> >>>>>
>> >> >>>>> source .homebrew-build-env
>> >> >>>>>
>> >> >>>>> before
>> >> >>>>> ./bootstrap && ./configure
>> >> >>>>>
>> >> >>>>>
>> >> >>>>> On Fri, Feb 4, 2022 at 6:14 PM modp...@gmail.com <
>> modp...@gmail.com> wrote:
>> >> >>>>> >
>> >> >>>>> > I'm building Sage 9.5 from source on macOS Monterey 12.2,
>> however, it fails when installing flint. I attach here the top level config
>> and log file for flint. Any ideas what the issue might be?
>> >> >>>>> >
>> >> >>>>> >
>> >> >>>>> > --
>> >> >>>>> > You received this message because you are subscribed to the
>> Google Groups "sage-devel" group.
>> >> >>>>> > To unsubscribe from this group and stop receiving emails from
>> it, send an email to sage-devel+...@googlegroups.com.
>> >> >>>>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-devel/fba7b5fc-b0a2-42e4-b218-8be4e8aca141n%40googlegroups.com.
>>
>> >> >>
>> >> >> --
>> >> >> You received this message because you are subscribed to the Google
>> Groups "sage-devel" group.
>> >> >> To unsubscribe from this group and stop receiving emails from it,
>> send an email to sage-devel+...@googlegroups.com.
>> >> >> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-devel/7c9ac4ed-f32c-4982-90b7-8f284fa2b5efn%40googlegroups.com.
>>
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "sage-devel" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to sage-devel+...@googlegroups.com.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-devel/d0dd8eef-4a98-4622-8043-f5b2bc5c9261n%40googlegroups.com.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/851c6388-fe81-4972-81cc-5b2f3a9e2193n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/851c6388-fe81-4972-81cc-5b2f3a9e2193n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2FL9YAJq3sP9_xKXw%2B54haqK8mCLcmz7eLJ2PFXEaqzQ%40mail.gmail.com.

Reply via email to