mint icon indicating copy to clipboard operation
mint copied to clipboard

[Mac M1] Brew install error "The x86_64 architecture is required for this software"

Open pqkluan opened this issue 4 years ago • 4 comments

I tried to install mint-lang on Mac mini m1 and encountered the following error:

$ brew install mint-lang
==> Installing mint-lang from mint-lang/mint-lang
llvm@9: The x86_64 architecture is required for this software.
Error: An unsatisfied requirement failed this build.

I googled the issue but found no related topic for this bug. Any advice?

pqkluan avatar Apr 01 '21 14:04 pqkluan

You can build it from source for now, or you can use the Docker image, which is at mint-lang/mint-docker

nailuj29 avatar Apr 01 '21 16:04 nailuj29

Thank you @nailuj29gaming, I'll try to build it from source.

pqkluan avatar Apr 02 '21 02:04 pqkluan

This will be fixed once Crystal is supported natively https://github.com/crystal-lang/crystal/issues/10237 (keeping this issue open until it is supported)

gdotdesign avatar Apr 12 '21 15:04 gdotdesign

This will be fixed once Crystal is supported natively crystal-lang/crystal#10237 (keeping this issue open until it is supported)

Yup, I tried to build from source but it require Crystal lang (which also throw the same error). I'm haven't try the docker image yet, since I feel it's been too much a hassle for trying mint-lang at the moment.

pqkluan avatar Apr 13 '21 02:04 pqkluan