error building sage-9.3 on catalina (gsl-2.6)

54 views
Skip to first unread message

sal...@gmail.com

unread,
May 25, 2021, 7:27:05 AM5/25/21
to sage-devel

Hello everyone.

I've run into a problem while compiling sage-9.3 on macOS Catalina 10.15.7. The installation hangs on compiling gsl-2.6. Some notes:

- machine : 2020 macbook pro
- OS : macOS Catalina 10.15.7 with homebrew
- This occurs both after a "dist-clean" as well as with a new clone & compile.

See attached files. Any ideas on how to fix this?

Best,
Franco
discrete-fd053c.c
discrete-fd053c.sh
config.log
gsl-2.6.log

Dima Pasechnik

unread,
May 25, 2021, 7:33:21 AM5/25/21
to sage-devel
Do you really have to build gsl yourself?
https://formulae.brew.sh/formula/gsl

also, note that ./configure tells you:

hint: installing the following system packages, if not
already present, is recommended and may avoid having to
build them (though some may have to be built anyway):

$ brew install gcc gsl openblas r suite-sparse
> --
> 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/585d14fe-a68e-4ec8-a0dc-12e0e189b572n%40googlegroups.com.

sal...@gmail.com

unread,
May 25, 2021, 7:38:37 AM5/25/21
to sage-devel

Actually, I do have gsl installed via brew. I installed all the packages suggested by homebrew and sourced the homebrew-build-env, but I still get hints when I (re)run the configure scripts.

Dima Pasechnik

unread,
May 25, 2021, 7:46:57 AM5/25/21
to sage-devel
On Tue, May 25, 2021 at 12:38 PM sal...@gmail.com <sal...@gmail.com> wrote:
>
>
> Actually, I do have gsl installed via brew. I installed all the packages suggested by homebrew and sourced the homebrew-build-env, but I still get hints when I (re)run the configure scripts.


The problem is that you have gfortran 11, as can be seen from your config.log

Thus, you need https://trac.sagemath.org/ticket/31838




> On Tuesday, May 25, 2021 at 7:33:21 AM UTC-4 dim...@gmail.com wrote:
>>
>> Do you really have to build gsl yourself?
>> https://formulae.brew.sh/formula/gsl
>>
>> also, note that ./configure tells you:
>>
>> hint: installing the following system packages, if not
>> already present, is recommended and may avoid having to
>> build them (though some may have to be built anyway):
>>
>> $ brew install gcc gsl openblas r suite-sparse
>>
>>
>> On Tue, May 25, 2021 at 12:27 PM sal...@gmail.com <sal...@gmail.com> wrote:
>> >
>> >
>> > Hello everyone.
>> >
>> > I've run into a problem while compiling sage-9.3 on macOS Catalina 10.15.7. The installation hangs on compiling gsl-2.6. Some notes:
>> >
>> > - machine : 2020 macbook pro
>> > - OS : macOS Catalina 10.15.7 with homebrew
>> > - This occurs both after a "dist-clean" as well as with a new clone & compile.
>> >
>> > See attached files. Any ideas on how to fix this?
>> >
>> > Best,
>> > Franco
>> >
>> > --
>> > 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/585d14fe-a68e-4ec8-a0dc-12e0e189b572n%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/9b7fb6f6-c584-4d67-bc2b-0f4087b4df05n%40googlegroups.com.

sal...@gmail.com

unread,
May 25, 2021, 4:05:33 PM5/25/21
to sage-devel

This worked! Thanks Dima!
Reply all
Reply to author
Forward
0 new messages