hi! recently, I reinstalled my computer to get gptk2. I found such an error when loading rosetta. when I typed "softwareupdate --install-rosetta" on the terminal, the terminal feedback was "Installing Rosetta 2 on this system is not support Ed." besides, when I use homebrew install gptk, it will return "Error: openssl @1.1 has been disabled because it is not supported upstream! It was disabled on 2024-10-24." Is there any way to solve these problems?
Error in installing Rosetta and build issue with game-porting-toolkit
Hey, what is your Mac model ? Rosetta 2 is specifically designed for Apple Silicon Macs (M1, M2, M3 series) to run Intel/x86 apps. If you're running an Intel Mac, Rosetta is not supported/needed.
For the Rosetta installation, try:
softwareupdate --install-rosetta --agree-to-license
This command includes the license agreement flag which might help bypass the initial error.
If you're still getting the Rosetta installation error, you can check if it's already installed:
- Go to Applications/Utilities
- Right-click on Terminal
- Select "Get Info"
- Look for "Open using Rosetta" checkbox - if it's there and checked, Rosetta is already installed!
For the game-porting-toolkit installation failing due to OpenSSL, here's a workaround solution from https://forums.developer.apple.com/forums/thread/768326
The suggested solution has these steps:
- First, tap into the rbenv repository and manually install
openssl@1.1
:
brew tap rbenv/tap
brew install rbenv/tap/openssl@1.1
- Then proceed with the original Game Porting Toolkit installation:
brew tap apple/apple http://github.com/apple/homebrew-apple
brew -v install apple/apple/game-porting-toolkit
This works by getting openssl@1.1
from an alternative source that still maintains it, bypassing the deprecation block in the main Homebrew repository.