the error is not in sagenb, in fact. Try starting Sage as ./sage
and send us the error message (and the file the error message asks you to send) We need to do something about this "non"-error, it keeps confusing people. On Sat, Nov 2, 2019 at 5:24 AM Rob Gross <robert.gross.1...@gmail.com> wrote: > > Hi, > > I managed to find advice about compiling gcc and gfortran on Catalina > (summary in a moment), and now I ran into another problem compiling sage from > source (not upgrading). The attached log file shows the error message when I > typed "make -j4" and watched the compilation nearly succeed. Any ideas about > how to resolve this error? > > As for compiling gfortran on Catalina: the recommendation (which worked for > me) is to create a new directory which mostly contains soft links to the > standard system files: > > lrwxr-xr-x 1 root wheel 60 Oct 31 20:28 Library@ -> > /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/Library/ > lrwxr-xr-x 1 root wheel 59 Oct 31 20:28 System@ -> > /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/ > drwxr-xr-x 7 root wheel 224 Oct 31 20:29 usr/ > > and usr looks like: > > lrwxr-xr-x 1 root wheel 60 Oct 31 20:28 bin@ -> > /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/bin/ > drwxr-xr-x 270 root wheel 8640 Oct 31 20:31 include/ > lrwxr-xr-x 1 root wheel 59 Oct 31 20:29 lib@ -> > /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib > lrwxr-xr-x 1 root wheel 64 Oct 31 20:29 libexec@ -> > /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/libexec/ > lrwxr-xr-x 1 root wheel 62 Oct 31 20:29 share@ -> > /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/ > > Then I had to copy all of /Library.../include into my {new > directory}/usr/include, and patch Availability.h following line 300: > > ... > #ifndef __OSX_AVAILABLE_STARTING > #define __OSX_AVAILABLE_STARTING(_osx, _ios) > #define __OSX_AVAILABLE_BUT_DEPRECATED(_osxIntro, _osxDep, _iosIntro, _iosDep) > #define __OSX_AVAILABLE_BUT_DEPRECATED_MSG(_osxIntro, _osxDep, _iosIntro, > _iosDep, _msg) > #endif > > #if defined(__has_feature) > ... > > Then "./configure gcc/gfortran --with-sysroot=new_dummy_directory" worked, > at least for me. > > Thanks, as always.--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/6bbd60fe-13d1-420f-8060-2ae8ea22f020%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/CAAWYfq02c9mqaOiemUvOhMPsbu2rxcLO5rmaBpTjy0ZUgG_z4w%40mail.gmail.com.