Yes, using gcc@10 from homebrew should be a good option too. I have added 
this suggestion to  
to 
https://wiki.sagemath.org/ReleaseTours/sage-9.3#Availability_of_Sage_9.3_and_installation_help
 
(it may need expanding)

On Monday, May 10, 2021 at 12:28:50 PM UTC-7 [email protected] wrote:

> sorry, that should be `brew install gcc@10`
>
> On Monday, May 10, 2021 at 3:27:47 PM UTC-4 Zachary Scherr wrote:
>
>> I haven't fully tested this yet, but you can also try installing gcc-10 
>> through homebrew and then using gfortran-10.  Here are the steps to try:
>>
>> > brew install gcc-10
>>
>> and then once in a clean sage directory (so run make distclean if you 
>> need to):
>>
>> > source .homebrew-build-env
>> > make configure
>> > FC=gfortran-10 ./configure
>> > make
>>
>> will force the configure script to use gfortran 10.  At the time of 
>> posting this I did check that this does allow numpy to build.
>>
>>
>>
>> On Monday, May 10, 2021 at 3:01:56 PM UTC-4 Matthias Koeppe wrote:
>>
>>> Our configure script rejects the current gfortran from homebrew - which 
>>> is already 11.1.
>>>
>>> This leads to building gfortran from source, an old version which does 
>>> not support Big Sur. 
>>> Try with https://trac.sagemath.org/ticket/29703 please (use 
>>> ./bootstrap), which upgrades our gcc/gfortran package.
>>>
>>>
>>>
>>> On Monday, May 10, 2021 at 11:46:50 AM UTC-7 [email protected] wrote:
>>>
>>>> I'm trying to build SageMath 9.3 from source on MacOS Big Sur 11.3.1.
>>>>
>>>> It fails with the following:
>>>>
>>>>     v = self.gnu_version_match(version_string)
>>>>
>>>>   File 
>>>> "/Users/myUser/app/sage-9.3/local/var/tmp/sage/build/numpy-1.19.5/src/numpy/distutils/fcompiler/gnu.py",
>>>>  
>>>> line 80, in gnu_version_match
>>>>
>>>>     raise ValueError(err + version_string)
>>>>
>>>> ValueError: A valid Fortran version was not found in this string:
>>>>
>>>>
>>>> 9.2.0
>>>>
>>>>
>>>> ********************************************************************************
>>>>
>>>> Error building a wheel for numpy-1.19.5
>>>>
>>>>
>>>> ********************************************************************************
>>>>
>>>>
>>>> Please find the log files attached. 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/f231c65a-7daf-4b04-ac8d-5fc20566fc68n%40googlegroups.com.

Reply via email to