For the time being I have given up on trying to compile sage directly and have instead installed it using anaconda.
Andrew On Tuesday, 5 November 2019 11:54:00 UTC+8, Andrew wrote: > > Sadly this still is not working for me. When I found that using your brew > formulae didn't work I uninstalled brew, xcode and the command line tools > and then reinstalled everything. My current configuration is: > > $ sw_vers > ProductName: Mac OS X > ProductVersion: 10.15.1 > BuildVersion: 19B88 > > $ xcode-select --version > xcode-select version 2370. > > $ xcodebuild -version > Xcode 11.2 > Build version 11B52 > > $ brew list > autoconf gnutls libmpc openexr shared- > mime-info > automake gpatch libomp openssl sqlite > boost icu4c libpng openssl@1.1 texinfo > cimg ilmbase libtasn1 p11-kit unbound > cmake isl libtool p7zip unrar > gcc libde265 libunistring pari xz > gdbm libdvdcss mpfi pcre > gettext libevent mpfr pkg-config > glib libffi nettle python > gmp libidn2 ntl readline > > $ env > NVM_RC_VERSION= > TERM_PROGRAM=Apple_Terminal > NVM_CD_FLAGS= > SHELL=/usr/local/bin/bash > TERM=xterm-256color > TMPDIR=/var/folders/s0/zb5nzt557xj_hc2t_4j_c2zr0000gn/T/ > TERM_PROGRAM_VERSION=433 > HTTP_SMS_USER=mathas > OLDPWD=/Users/andrew > TERM_SESSION_ID=8B5621BC-E947-4260-A2DD-0ABB88C39133 > NVM_DIR=/Users/andrew/.nvm > USER=andrew > TIMEFORMAT= > real %3R user %3U sys %3S pcpu %P > > SAGE_BROWSER=chrome > SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.bB0vdzfNg7/Listeners > SAGE_INSTALL_CCACHE=yes > PATH=/Users/andrew/bin:/Users/andrew/.node/bin:/usr/local/sbin:/usr/local/ > bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/usr/ > local/sbin > INPUTRC=/Users/andrew/.dotfiles/config/inputrc > PWD=/usr/local/src/sage > LANG=en_AU.UTF-8 > SAGE_ROOT=/usr/local/src/sage > XPC_FLAGS=0x0 > HISTIGNORE=&:bg:fg:ll:h > XPC_SERVICE_NAME=0 > SHLVL=1 > HOME=/Users/andrew > MAKE=make -j3 > XDG_CONFIG_HOME=/Users/andrew/.dotfiles/ > TEXEDIT=gvim +%d %s > PYCURL_CURL_CONFIG=/usr/local/opt/curl-openssl/bin/curl-config > FULLPATH=/Users/andrew/bin:/Users/andrew/.node/bin:/usr/local/sbin:/usr/ > local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin: > /usr/local/sbin > LOGNAME=andrew > DISPLAY=:0 > SQLITE_EXEMPT_PATH_FROM_VNODE_GUARDS=/Users/andrew/Library/WebKit/ > Databases > HISTTIMEFORMAT=%H:%M > > _=/usr/bin/env > > > Is there anything wrong in my attached config file? > > Andrew > > ps. I also tried compiling with https://trac.sagemath.org/ticket/28691 > but the build failed in exactly the same way. > > On Monday, 4 November 2019 16:35:55 UTC+11, John H Palmieri wrote: >> >> I am using the same versions of OS and Xcode as you. I am now doing this >> with a third computer. This one had an old Xcode and some homebrew stuff >> already installed, and it gave me some problems. I ended up uninstalling >> and then reinstalling various parts of homebrew, and Sage now builds for >> me. (I had also first installed some things by hand, like gfortran many >> months ago. So I had to delete things like that when doing the homebrew >> installation.) >> >> $ brew list >> autoconf libdvdcss p7zip >> automake libevent pari >> boost libffi pcre >> cabextract libidn2 pkg-config >> cimg libmpc python >> cmake libomp readline >> emacs-mac libpng shared-mime-info >> gcc libtasn1 sqlite >> gdbm libtool texinfo >> gettext libunistring unbound >> glib mpfi unrar >> gmp mpfr wine >> gnutls nettle winetricks >> gpatch ntl x265 >> icu4c openexr xz >> ilmbase openssl yasm >> isl openssl@1.1 >> libde265 p11-kit >> >> >> $ brew --version >> Homebrew 2.1.15 >> Homebrew/homebrew-core (git revision d191f; last commit 2019-11-03) >> Homebrew/homebrew-cask (git revision cbd79; last commit 2019-11-03) >> >> >> >> >> On Sunday, November 3, 2019 at 8:53:57 PM UTC-8, Andrew wrote: >>> >>> I uninstalled xcode and brew's gcc and then reinstall them both but I >>> still the the same failure with givaro. >>> I don't know if this is related, but even though I installed ntl using >>> brew it is not used when I compile sage as the log file reports: >>> >>> checking NTL/ZZ.h usability... no >>> checking NTL/ZZ.h presence... yes >>> configure: WARNING: NTL/ZZ.h: present but cannot be compiled >>> configure: WARNING: NTL/ZZ.h: check for missing prerequisite headers? >>> configure: WARNING: NTL/ZZ.h: see the Autoconf documentation >>> configure: WARNING: NTL/ZZ.h: section "Present But Cannot Be >>> Compiled" >>> configure: WARNING: NTL/ZZ.h: proceeding with the compiler's result >>> configure: WARNING: ## ------------------------------------------ ## >>> configure: WARNING: ## Report this to sage-...@googlegroups.com ## >>> configure: WARNING: ## ------------------------------------------ ## >>> checking for NTL/ZZ.h... no >>> checking whether we can link a program using NTL... no >>> checking NTL version >= 10.3... 11.4.1 >>> using Sage's ntl SPKG >>> configure: === checking whether to install the flint SPKG === >>> checking installing mpfr or ntl? ... yes; install flint as well >>> using Sage's flint SPKG >>> configure: === checking whether to install the arb SPKG === >>> checking installing flint? ... yes; install arb as well >>> configure: === checking whether to install the bzip2 SPKG === >>> >>> That sage wants compile flint and arb is expected because I try to >>> install them with brew I get errors like: >>> >>> ==> make >>> Last 15 lines from /Users/andrew/Library/Logs/Homebrew/flint/02.make: >>> ~~^ >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:9: >>> >>> error: no member named 'islessgreater' in the global namespace >>> using ::islessgreater; >>> ~~^ >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:9: >>> >>> error: no member named 'isunordered' in the global namespace >>> using ::isunordered; >>> ~~^ >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: >>> >>> error: no member named 'isunordered' in the global namespace >>> using ::isunordered; >>> ~~^ >>> 13 errors generated. >>> make[2]: *** [build/interfaces/NTL-interface.lo] Error 1 >>> >>> These are similar to the errors that I get with givaro when compiling >>> sage. >>> >>> John: what version of xcode and the command line tools are using and if >>> you first do >>> >>> make distclean >>> >>> are you still able to compile sage? As I reinstalled xcode from the >>> appsrtore I am using the latest versions av I am using: >>> >>> ProductName: Mac OS X >>> ProductVersion: 10.15.1 >>> BuildVersion: 19B88 >>> Xcode 11.2 >>> Build version 11B52 >>> >>> Andrew >>> >>> >>> >>> >>> On Saturday, 2 November 2019 05:45:08 UTC+11, Andrew wrote: >>>> >>>> Thanks John. I'll give this a try on Monday. >>>> Andrew >>>> >>>> On Saturday, 2 November 2019 04:20:08 UTC+11, John H Palmieri wrote: >>>>> >>>>> I just upgraded a different machine to Catalina. This one didn't have >>>>> Xcode or homebrew installed beforehand, so I installed Xcode, its >>>>> command-line tools, and homebrew's gcc. Then I built Sage and it worked. >>>>> I >>>>> have now installed a bunch of other homebrew packages relevant to Sage, >>>>> and >>>>> the build is going fine. (I had to log out of the machine, so I had to >>>>> interrupt the build, but it had made it past givaro and ntl, which were >>>>> sticking points for another user in this thread.) >>>>> >>>>> Thinking back on the other machine I upgraded, that one was also >>>>> relatively "clean": no old Xcode or old homebrew stuff. So for those who >>>>> are having problems, I wonder if uninstalling Xcode first would help. >>>>> Maybe >>>>> there are some other old libraries which should be removed before >>>>> installing the new Xcode. >>>>> >>>>> John >>>>> >>>>> >>>>> On Monday, October 14, 2019 at 10:43:09 AM UTC-7, Volker Braun wrote: >>>>>> >>>>>> Means: I successfully compiled Sage 8.9 on OSX Catalina with Xcode >>>>>> 11.0 >>>>>> >>>>>> >>>>>> >>>>>> On Sunday, October 13, 2019 at 9:24:44 PM UTC+2, Samuel Lelievre >>>>>> wrote: >>>>>>> >>>>>>> Sun 2019-10-13 08:26:52 UTC, Volker Braun: >>>>>>>> >>>>>>>> I just upgraded the OSX buildbot and Sage works >>>>>>>> >>>>>>> in case anybody is wondering. This is the first time in years >>>>>>>> >>>>>>> that the latest OSX release doesn't introduce major toolchain >>>>>>>> >>>>>>> issues and/or scrambles the filesystem, hope this starts a trend ;-) >>>>>>>> >>>>>>> >>>>>>> That's good to hear, and there were people wondering. >>>>>>> See for instance this question on Ask Sage about SageMath >>>>>>> and macOS 10.15 "Catalina": >>>>>>> >>>>>>> - How to unlock SageMath 8.8 on macOS 10.15 Catalina? >>>>>>> https://ask.sagemath.org/question/48293 >>>>>>> >>>>>>> By "Sage works" do you mean any of the following? >>>>>>> >>>>>>> - there are / there will be binaries for macOS 10.15 "Catalina" >>>>>>> - the SageMath 8.9 binaries for macOS 10.14 "Mojave" >>>>>>> also work for macOS 10.15 "Catalina" >>>>>>> - on macOS 10.15 "Catalina" building SageMath 8.9 from >>>>>>> source gives a version that works and is not "locked" >>>>>>> >>>>>>> >>>>>>> -- 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/e8a49b41-7099-489b-9d40-e0ceb7d2dabf%40googlegroups.com.