On Wed, Dec 2, 2020 at 7:57 PM Mathieu Dutour <mathieu.dut...@gmail.com> 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.

Reply via email to