Quantcast
Channel: Active questions tagged software - Ask Different
Viewing all articles
Browse latest Browse all 33

how to install SBCL on Apple Silicon without brew and without sudo / admin?

$
0
0

I have an Apple M1 macbook pro in which I want to use SBCL for Common Lisp but without homebrew. The official SBCL page says one way is to build SBCL from source, though you need to bootstrap that with an existing common lisp compiler.

In order to bootstrap, I tried downloading the macOS AMD64 precompiled binary 2.2.9 for SBCL on the official SBCL page, and it's an older version (not as new as the source code of course). However, I couldn't run it because macOS said it's from an untrusted developer Of course, you can right-click the icon and click open, but then you'd need an admin password to be able to bypass the requirement of signing.

Of course, another thing I can do is to just install Brew outside of the usual prefix (so that sudo is not needed), then brew install SBCL (which would basically give me the newest version), and then if I wanted to, I could just use that to build SBCL from source, then finally delete the brew SBCL and brew itself.

However I'm wondering if there's any way to bootstrap without brew at all? Like is there a lightweight common lisp compiler that can be used to build SBCL on macOS apple silicon (even using Rosetta), that does not run into "untrusted publisher" issues (so that I don't need sudo or admin password to run it)?

EDIT: I tried to download the ARM64 version 2.4.0 instead, and managed to run install.sh fine. But then when I cded to bin and did ./sbcl, I get a popup saying

"sbcl" can't be opened because Apple cannot check it for malicious software. This software needs to be upaded. Contact the developer for more information.

Also I forgot to add that I'm on a standard account on the macbook, not an administrator account. I do have access to the administrator account, but I would prefer not to use it: I install and use lots of other software no problem on my standard account.


Viewing all articles
Browse latest Browse all 33

Latest Images

Trending Articles





Latest Images