Error installing hyperkit on HomeBrew in M1 Silicon - macos

I'm trying to install hyperkit on MacOS 12.1 M1 Silicon and I get the following error.
% brew install hyperkit
Error: hyperkit: no bottle available!
You can try to install from source with:
brew install --build-from-source hyperkit
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.
With some research I found an incompatibility with M1 Silicon processors M1 Compatibility Issue.
Is there a workaround for this?
I want to setup minishift on M1 Silicon and Hyperkit is a pre-requisite on MacOS.

M1 chip doesn't support hyperkit.
Tried virtualization using Kind.

I don't know about minishift, but for minikube, qemu works fine
https://minikube.sigs.k8s.io/docs/drivers/qemu/

Apparently hyperkit is not available for mac m1/m2. ARM chips.
So, I used qemu.
Install qemu using:
brew install qemu
Run
minikube start --driver=qemu

Related

Not able to install prometheus on Mac os

I have downloaded prometheus-2.36.2.darwin-amd64.tar.gz file in my Mac system with a M1 processor. But I am unable to install and run prometheus. Please let me know the steps to install the same.
There are binaries for your platform available:
Go to https://prometheus.io/download/
Choose darwin as your Operating System and arm64 as your Architecture.
Download the files you need.
Or, use this direct download link: Prometheus 2.36.2 for macOS on M1.
You have an M1 Mac and you try to install an amd64 image. So the processors instruction does not map to the installing image.
You have to download an Image for the M1 architecture.
You can also try to install it with brew install prometheus.
Otherwise you may run it in an docker container which you find here:
https://hub.docker.com/u/prom

The chromium binary is not available for arm64

I am using rush and trying to run rush install in a project I cloned from one of my company's repositories. But, it fails by throwing the following error:
The chromium binary is not available for arm64:
If you are on Ubuntu, you can install with:
apt-get install chromium-browser
Note: I'm using iTerm2 terminal for all this running on an Apple Macbook Pro having Monterey as the OS, powered by the Apple M1 Pro chip.
PS I tried to look for answers o'er the web and found this post but the answer doesn't seem to work for me.
As mentioned previously, this is due to the new M1 chips. I've been able to resolve the issue by using node v15. Could try nvm use 15 from the command line in your project directory.

How to install everything natively without rosetta 2 in M1 macs?

I have been using M1 macbook for almost half a year and initially, I installed many packages under rosetta 2 and many natively (I assume). I run my terminal under rosetta 2 but whenever I install any package using brew, I do it using arch -arm64 brew install <pkg-name>. Now, I have no clue if all this time, I had been installing the packages under rosetta 2 or natively.
Anyways, now I want to install the native versions of all the packages and software since now, most of them are available natively. Please help me to figure out how can I do this. All I want to do is remove everything and then install then natively without rosetta 2.
Some of the things which I want to reinstall are:-
Homebrew
Mini conda and the python libraries.
gcc and g++
MySQL
Node and npm
Also, in future, if I want to install anything natively then how should I do it?
If you used Homebrew to install all of the packages, try to uninstall them as you where using brew. Then uninstall the x86 version of Homebrew
And for the native versions, install the new Homebrew with the ARM terminal. And reinstall everything.

unable to install hyper kit on mac as it is showing an error during a brew intall

I am unable to install hyper kit on my mac. I am issueing the command brew install hyperkit from the terminal . the following is the logs result
Kjango-MacBook-Air:~ kanan$ brew install hyperkit
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
hyperkit: A full installation of Xcode.app 9.0 is required to compile
this software. Installing just the Command Line Tools is not sufficient.
Xcode can be installed from the App Store.
Error: An unsatisfied requirement failed this build.
Appreciate if you can help me to resolve.
thank you
I have upgraded to the mac os catalina .
then i was able to install it

os x lion macport problem

I'm trying to install tomcat6 on OS X Lion using via macport 2.0. However, there is problem during the installation of one of the dependencies "commons-dbcp"
The messages are as follows
---> Building commons-dbcp
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install commons-dbcp
After upgrading my OS to Lion, this kind of problem with macport happens alot and I don't know how to fix. It stopped me from installing a number of packages which I could install without a problem on Snow leopard.
Anyone could help me on this? Thanks
Make sure you have XCode 4.1+ installed and then update (re-install) your MacPorts to version 2.0.0
more instruction available here.
I faced similar problem, As pointed by Shayanlinux, installing XCode 4.1+ and running a sudo port selfupdate fixed the problem.

Resources