使用brew错误下载hydra(在安装hydra之前必须'brew link makedepend`)

时间:2017-02-12 02:45:03

标签: shell homebrew sudo hydra

我想在我的imac上用Homebrew下载终端中的Hydra,但它给了我这个错误:

You must `brew link makedepend` before hydra can be installed

当我跑步时:

brew link makedepend

它说:

Error: Could not symlink .
/usr/local/opt is not writable.

如果我使用sudo,它会说:

Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

有人可以帮助我,谢谢你!

1 个答案:

答案 0 :(得分:0)

首先运行brew update,然后brew doctor。它可能会要求您在chmod上使用/usr/local/。按照说明进行操作。