you need Homebrew Python3 installed, I think it comes with ssl.

On Sun, 30 May 2021, 02:05 kcrisman, <kcris...@gmail.com> wrote:

>
> The ARM version of homebrew is installed in /opt/homebrew, not /usr/local.
>> Best to first install it and put it in your PATH
>>
>
> I see now that it isn't that already-installed Homebrew is smart enough to
> put ARM stuff in that location, but it actually needs two separate
> installs.  This is going to be a pain ... I'll report back more later, at
> least now the GMP issue seems (?) to be resolved.
>
> Various comments:
> * See e.g.
> https://osxdaily.com/2021/02/06/installing-homebrew-apple-silicon-mac-native/
> which (apparently wrongly?) says, "If you’re already running Homebrew you
> should be able to just update the package manager to get the latest version
> with native Apple Silicon support. Alternately, you can run the installer
> again." but that is apparently not what happened.  Anyway, the
> Homebrew-provided script
> https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh will
> auto-detect chip type.  Eventually we'll want to update our instructions
> regarding some of these things - I would imagine that others would (like
> me) have legacy installs when they move to an ARM Mac (in this case, one
> provided by my employer, who also handled the migration).  That includes
> the warning about /opt/homebrew.
>
> * Anyway, after doing this, making sure the "new" brew is first in my
> PATH, and re-sourcing the homebrew in my Sage directory, I still get plenty
> of errors during brew like  "Error: Failed to read Mach-O binary:
> /opt/homebrew/Cellar/arb/2.19.0_1/include/acb_poly.h" but hopefully not a
> problem.
>
> * I needed to upgrade to 9.4.beta0 due to #31838
>
> * SSL: this message is interesting with regard to SSL support - will we
> still have to 'hand-enable' SSL on Python?  But Sage "make" is still
> installing the openssl spkg as one might expect from the keg-only message.
>
> ==> *openssl@1.1*
>
> A CA file has been bootstrapped using certificates from the system
>
> keychain. To add additional certificates, place .pem files in
>
>   /opt/homebrew/etc/openssl@1.1/certs
>
>
> and run
>
>   /opt/homebrew/opt/openssl@1.1/bin/c_rehash
>
>
> openssl@1.1 is keg-only, which means it was not symlinked into
> /opt/homebrew,
>
> because macOS provides LibreSSL.
>
>
> If you need to have openssl@1.1 first in your PATH, run:
>
>   echo 'export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH"' >>
> ~/.profile
>
>
> For compilers to find openssl@1.1 you may need to set:
>
>   export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib"
>
>   export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
>
>
> For pkg-config to find openssl@1.1 you may need to set:
>
>   export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@1.1/lib/pkgconfig"
>
> --
> 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/ed846459-a41d-435b-87ad-c27348ed65a2n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/ed846459-a41d-435b-87ad-c27348ed65a2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAWYfq2GAyWpHvb%2BJndgKVhbeETUwpjfVVtCn2nvbZBfJyoXiA%40mail.gmail.com.

Reply via email to