[sage-support] Install of sage on macOS
I would like to install SAGE on a macOS MacBook Pro16 computer. The problem I have is that Sage is killed when trying to install it by the system. The reasons is laudable: Do not run untrusted binaries on a macintosh. But in that case, it makes installation kind of impossible. The reason is that the first binary to be allowed on "Security & Privacy" is Python3.8 If the story stopped here, then that would be perfectly fine. However, after I allow the Python3.8 I have further libraries to allow and it does not appear to converge as I keep allowing the same libraries over and over. I tried two ways of installing: 1) Downloading the .tar.bz2 and installing it in my $HOME/opt directory just as I do on Linux. 2) Downloading the .dmg archive and installing sage in /Application directory. I would have expected that it worked since /Application is a root directory and not user one. Also the .dmg is a package format so should allow simple authorization scheme. I followed the "Sage Installation Guide. Release 9.2" and unfortunately that problem does not appear to be addressed there. Mathieu -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/819b6b90-2cae-4829-9dbb-cd957d8bccdan%40googlegroups.com.
Re: [sage-support] Install of sage on macOS
Hi Mathieu, On Wed, Dec 2, 2020 at 6:54 PM Mathieu Dutour wrote: > > I would like to install SAGE on a macOS MacBook Pro16 computer. Building binary installers on macOS has become a dark art, we don't have people who master it well any more :-( The quickest way is to use Conda. https://doc.sagemath.org/html/en/installation/conda.html If you use Homebrew then building from source is a reasonably quick option, too. Building from source is possible with just XCode installed, but this takes long time, as it would build gcc/gfortran etc etc HTH Dima > > The problem I have is that Sage is killed when trying to install it > by the system. The reasons is laudable: Do not run untrusted binaries > on a macintosh. > > But in that case, it makes installation kind of impossible. The reason > is that the first binary to be allowed on "Security & Privacy" is Python3.8 > If the story stopped here, then that would be perfectly fine. However, after > I allow the Python3.8 I have further libraries to allow and it does not appear > to converge as I keep allowing the same libraries over and over. > > I tried two ways of installing: > 1) Downloading the .tar.bz2 and installing it in my $HOME/opt directory > just as I do on Linux. > 2) Downloading the .dmg archive and installing sage in /Application directory. > I would have expected that it worked since /Application is a root directory > and not user one. Also the .dmg is a package format so should allow > simple authorization scheme. > > I followed the "Sage Installation Guide. Release 9.2" and unfortunately > that problem does not appear to be addressed there. > > Mathieu > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/819b6b90-2cae-4829-9dbb-cd957d8bccdan%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq1jkzrKtox6N3R9b-59cpS5p4yX-yzv%3DZ586MQvEhw6LQ%40mail.gmail.com.
Re: [sage-support] Install of sage on macOS
On Wed, Dec 2, 2020 at 7:10 PM Dima Pasechnik wrote: > > Hi Mathieu, > > On Wed, Dec 2, 2020 at 6:54 PM Mathieu Dutour > wrote: > > > > I would like to install SAGE on a macOS MacBook Pro16 computer. > > Building binary installers on macOS has become a dark art, we don't > have people who > master it well any more :-( > > The quickest way is to use Conda. > https://doc.sagemath.org/html/en/installation/conda.html > > If you use Homebrew then building from source is a reasonably quick option, > too. > Building from source is possible with just XCode installed, but this takes > long > time, as it would build gcc/gfortran etc etc PS. If you're already on macOS 11, then it might be problematic to build Sage 9.2 there, as it was not tested on the official released version. In this case you're advised to use the latest beta for SageMath 9.3 > > HTH > Dima > > > > The problem I have is that Sage is killed when trying to install it > > by the system. The reasons is laudable: Do not run untrusted binaries > > on a macintosh. > > > > But in that case, it makes installation kind of impossible. The reason > > is that the first binary to be allowed on "Security & Privacy" is Python3.8 > > If the story stopped here, then that would be perfectly fine. However, after > > I allow the Python3.8 I have further libraries to allow and it does not > > appear > > to converge as I keep allowing the same libraries over and over. > > > > I tried two ways of installing: > > 1) Downloading the .tar.bz2 and installing it in my $HOME/opt directory > > just as I do on Linux. > > 2) Downloading the .dmg archive and installing sage in /Application > > directory. > > I would have expected that it worked since /Application is a root directory > > and not user one. Also the .dmg is a package format so should allow > > simple authorization scheme. > > > > I followed the "Sage Installation Guide. Release 9.2" and unfortunately > > that problem does not appear to be addressed there. > > > > Mathieu > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sage-support" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to sage-support+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/sage-support/819b6b90-2cae-4829-9dbb-cd957d8bccdan%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq1QBbRARu2YPymjAjyQhcpsLOeFyn4C%2Bn87qdZi0q%3DRLw%40mail.gmail.com.
Re: [sage-support] Install of sage on macOS
> > Building binary installers on macOS has become a dark art, we don't > have people who > master it well any more :-( > What a pity. What are the scripts for the creation of the binaries? Maybe that can be addressed easily. The quickest way is to use Conda. > https://doc.sagemath.org/html/en/installation/conda.html Yes, I use it for other packages. I wanted to avoid that route as it has its own problems. > If you use Homebrew then building from source is a reasonably quick > option, > too. > Ok, will try that then. Building from source is possible with just XCode installed, but this takes > long > time, as it would build gcc/gfortran etc etc > Thanks for info. Mathieu -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/bcdfa092-3fd3-4e57-8e87-46c96d7ad53an%40googlegroups.com.
Re: [sage-support] Install of sage on macOS
On Wed, Dec 2, 2020 at 7:57 PM Mathieu Dutour wrote: >> >> Building binary installers on macOS has become a dark art, we don't >> have people who >> master it well any more :-( > > What a pity. What are the scripts for the creation of the binaries? > Maybe that can be addressed easily. The script is in https://github.com/sagemath/binary-pkg A relocatable binary is made, so that the hardcoded paths in binaries (i.e. dylibs and executables) are rewritten by an installation script with the actual values, before the 1st run.. I don't see how this can be reconciled with the need to codesign binaries on modern macOS. One needs an installer that will build something that must be installed in /Applications and codesign the binaries before the distribution is wrapped up. It is probably not much work for someone who knows these macOS details, though. We're removed an even more broken thing, a macOS app, in a recent sage 9.3 beta. https://trac.sagemath.org/ticket/30867 It's even more broken, and requires work in Xcode IDE to be fixed. (not sure whether this is a worthwhile job) > >> The quickest way is to use Conda. >> https://doc.sagemath.org/html/en/installation/conda.html > > Yes, I use it for other packages. > I wanted to avoid that route as it has its own problems. I wonder what problems you have (we have a Conda expert helping package Sage on Conda, he might be interested to know. Perhaps you can have a separate Conda install, if nothing else... > >> >> If you use Homebrew then building from source is a reasonably quick option, >> too. > > Ok, will try that then. > >> Building from source is possible with just XCode installed, but this takes >> long >> time, as it would build gcc/gfortran etc etc > > Thanks for info. > > Mathieu > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/bcdfa092-3fd3-4e57-8e87-46c96d7ad53an%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq0VYWzoEV8B9sWBuTGj537ZcAtivL3OV1VcoaSAOSOSDA%40mail.gmail.com.