[英]Installing GraphicsMagick on Mac OS X 10.8
I am trying to install GraphicsMagick on Mountain Lion and having problems. 我正在尝试在Mountain Lion上安装GraphicsMagick并遇到问题。 I tried all the things that I could search for in blogs and other stackoverflow questions but nothing worked. 我尝试了所有可以在博客和其他stackoverflow问题中搜索的内容,但没有任何效果。 So I have put the full stack of errors I get on each command. 所以我把每一个命令都带来了一大堆错误。 Please look and help me out. 请看看并帮助我。
When I run 我跑的时候
brew install graphicsmagick
I get this 我明白了
Warning: Could not link jpeg. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link jpeg'
and 和
Warning: Could not link libpng. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link libpng'
and in the last I am getting 在最后我得到了
==> make install
Warning: Could not link graphicsmagick. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link graphicsmagick'
Possible conflicting files are:
==> Summary
🍺 /usr/local/Cellar/graphicsmagick/1.3.18: 283 files, 10M, built in 52 seconds
Now if I try to brew link jpeg
or brew link libpng
I get this error 现在,如果我尝试brew link jpeg
或brew link libpng
我会收到此错误
Linking /usr/local/Cellar/jpeg/8d... Warning: Could not link jpeg. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/jpeg/8d/bin/wrjpgcom
Target /usr/local/bin/wrjpgcom already exists. You may need to delete it.
To force the link and overwrite all other conflicting files, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name
If I try the overwrite method by doing brew link --overwrite jpeg
it worked. 如果我通过brew link --overwrite jpeg
尝试覆盖方法brew link --overwrite jpeg
就可以了。 But ' brew link --overwrite libpng
' I get this 但' brew link --overwrite libpng
'我明白了
Linking /usr/local/Cellar/libpng/1.5.14... Warning: Could not link libpng. Unlinking...
Error: Permission denied - /usr/local/share/man/man5/png.5
And after that when I try brew link graphicsmagick
I get: 之后,当我尝试brew link graphicsmagick
我得到:
Linking /usr/local/Cellar/graphicsmagick/1.3.18... Warning: Could not link graphicsmagick. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/graphicsmagick/1.3.18/share/man/man5/quantize.5
/usr/local/share/man/man5 is not writable. You should change its permissions.
Please help me. 请帮我。 Thanks in advance. 提前致谢。
Try removing everything and start again: 尝试删除所有内容并重新开始:
brew uninstall imagemagick graphicsmagick libpng jpeg
brew cleanup -s
brew install graphicsmagick
Solved me some issues recently 最近解决了一些问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.