错误:在Macos sierra上安装RabbitMQ

时间:2016-10-05 09:30:30

标签: macos rabbitmq macos-sierra

我试图在我的Mac上安装RabbitMQ,它通过HomeBrew在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.

现在该怎么办?

2 个答案:

答案 0 :(得分:3)

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

这是docker https://hub.docker.com/_/rabbitmq/

的官方RMQ图片

一定要得到":管理"标签

docker pull rabbitmq:management

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

我最近将我的Mac版MacQ安装到了Docker中,并且不会再回头了。在Docker容器中安装这样的服务要容易得多。

答案 1 :(得分:3)

更新您的自制软件。
brew update将有效。
如果您获得Error: /usr/local is not writable. You should change the ownership,则应该sudo chown -R $(whoami) /usr/local之后,brew update