> 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. ==> *[email protected]* A CA file has been bootstrapped using certificates from the system keychain. To add additional certificates, place .pem files in /opt/homebrew/etc/[email protected]/certs and run /opt/homebrew/opt/[email protected]/bin/c_rehash [email protected] is keg-only, which means it was not symlinked into /opt/homebrew, because macOS provides LibreSSL. If you need to have [email protected] first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.profile For compilers to find [email protected] you may need to set: export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" For pkg-config to find [email protected] you may need to set: export PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/ed846459-a41d-435b-87ad-c27348ed65a2n%40googlegroups.com.
