box / mojito

An automation platform that enables continuous localization.
https://www.mojito.global/
Apache License 2.0
371 stars 73 forks source link

Fails to install on macOS Monterey 12.5 #844

Closed Kukiwon closed 1 year ago

Kukiwon commented 2 years ago

I followed the getting started page but the installation fails on my M1 Macbook Pro with the following error:

brew install mojito-webapp

Error: openjdk@8: no bottle available!
You can try to install from source with:
  brew install --build-from-source openjdk@8
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.

When I run brew install --build-from-source openjdk@8 I get the following error:

make
bootcycle-images
CONF=release

No configurations found for /private/tmp/openjdkA8-20220816-67087-1l7udti/jdk8u345-b01/! Please run configure to create a configuration.
Makefile:55: *** Cannot continue.  Stop.

Any thoughts on what's going on here?

aurambaj commented 2 years ago

looks like this openjdk@8 dependency has not been updated to work on M1. So you'd have to install Java 8 by hand. Adoptium / Temurin has build for M1 (other provider might have them too now).

The version available on brew is getting pretty old and given it doesn't install directly my advice is to follow that guide instead if you have basic knowledge in git to get started