I think at the moment most people who tried cannot build Sage on MacOS
10.15 with Xcode 11.1 (the latest one).
Regarding gfortran, perhaps one can try installing Homebrew and use
gfortram from there.

If you just need a working Sage, your best bet on MacOS 10.15 might be
the one from conda-forge.
https://anaconda.org/conda-forge/sage



On Wed, Oct 30, 2019 at 10:57 PM Rob Gross <robert.gross.1...@gmail.com> wrote:
>
> Hi,
>
> I tried both upgrading to sage-8.9 and compiling from scratch, and both times 
> gfortran would not compile.  I cannot attach the entire log file without an 
> error.  I attach the first few lines and the last few lines, and of course I 
> can e-mail anyone with as much information as needed.
>
> Here is the first error message in the log file:
>
> libtool: compile:  
> /Users/gross/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build/./gcc/xgcc
>  
> -B/Users/gross/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build/./gcc/
>  -B/Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/bin/ 
> -B/Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/lib/ -isystem 
> /Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/include -isystem 
> /Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/sys-include 
> -DHAVE_CONFIG_H -I. -I../../../src/libssp -Wall -g -O2 -MT gets-chk.lo -MD 
> -MP -MF .deps/gets-chk.Tpo -c ../../../src/libssp/gets-chk.c  -fno-common 
> -DPIC -o .libs/gets-chk.o
> In file included from 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h:110:0,
>                  from 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:66,
>                  from ../../../src/libssp/gets-chk.c:39:
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:
>  In function 'getiopolicy_np':
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:443:34:
>  error: expected declaration specifiers before '__OSX_AVAILABLE_STARTING'
>  int     getiopolicy_np(int, int) __OSX_AVAILABLE_STARTING(__MAC_10_5, 
> __IPHONE_2_0);
>                                   ^~~~~~~~~~~~~~~~~~~~~~~~
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:449:39:
>  error: expected '=', ',', ';', 'asm' or '__attribute__' before 
> '__OSX_AVAILABLE_STARTING'
>  int     setiopolicy_np(int, int, int) __OSX_AVAILABLE_STARTING(__MAC_10_5, 
> __IPHONE_2_0);
>
> Any ideas?
>
> Thanks.--Rob
>
> --
> 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/b557aad7-51f6-469b-9dac-bac679275400%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/CAAWYfq3LG%2Bj6eWxrYtJ7K%3Dc__PTtC%3DkNyWX9J8ywNY-u%3DPeugA%40mail.gmail.com.

Reply via email to