安装:ostaptan: ostap$ brew安装imagemagick -禁用-openmp-源程序
==> Downloading http://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6.7.7-6.tar.bz2
Already downloaded: /Library/Caches/Homebrew/imagemagick-6.7.7-6.tar.bz2
==> Patching
patching file configure
Hunk #1 succeeded at 32371 (offset 447 lines).
==> ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.7-6 --enable-shared --disable-static
==> make install
Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link imagemagick'
==> Summary
/usr/local/Cellar/imagemagick/6.7.7-6: 1388 files, 32M, built in 61 seconds安装中错误链接后的链接:
ostaptan:wand ostap$ brew链接imagemagick
Linking /usr/local/Cellar/imagemagick/6.7.7-6...
Error: Could not symlink file: /usr/local/Cellar/imagemagick/6.7.7-6/include/ImageMagick/wand/wand-view.h
Target /usr/local/include/ImageMagick/wand/wand-view.h already exists. You may need to delete it.
To force the link and delete this file, do:
brew link -f formula_name
To list all files that would be deleted:
brew link -n formula_name如何连接?该怎么办??哪里都找不到答案!
发布于 2012-08-09 09:27:22
如brew链接输出中所建议的,请尝试
brew link -f imagemagick这将清除/usr/local/include/ImageMagick/中的旧链接,然后链接完成安装所需的文件。
如果这不起作用,请检查您的用户是否有写入/usr/local/include/ImageMagick/*的权限。
发布于 2013-10-11 02:04:15
经过几个小时的尝试,唯一对我有用的是:
sudo brew link --overwrite imagemagick(还要求/usr/local/bin/brew为chowned to root)
发布于 2017-07-25 02:11:59
自制软件不再支持覆盖sudo命令。
sudo brew link --overwrite imagemagick错误:将Homebrew作为根用户运行是非常危险的,不再支持。由于Homebrew不会在安装时放弃特权,所以您将允许所有构建脚本完全访问您的系统。
https://stackoverflow.com/questions/11878888
复制相似问题