Error: Install RabbitMQ on Macos sierra

Error: Install RabbitMQ on Macos sierra

我试图通过 HomeBrew 在 Mac 上安装 RabbitMQ,即 运行 on Sierra 10.12。 我写了 brew install rabbitmq 以便它会自动安装 OpenSSL。 但它显示以下错误:

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
wxmac: This formula either does not compile or function as expected on OS X
versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.

现在怎么办?

我会将 RabbitMQ 安装到 Docker 容器中,Docker 用于 Mac https://docs.docker.com/docker-for-mac/

有 docker https://hub.docker.com/_/rabbitmq/

的官方 RMQ 图片

一定要获取“:management”标签

docker pull rabbitmq:management

并确保在 运行 时从容器映射端口 5672 和 15672。

我最近将 Mac 安装的 RMQ 移到了 Docker,并且不会再回去了。在 Docker 容器中提供这样的服务对我来说要容易得多。

更新您的自制软件。
brew update 会起作用。
如果你得到 Error: /usr/local is not writable. You should change the ownership,你应该做出 sudo chown -R $(whoami) /usr/local 然后 - brew update