[英]Installing GraphicsMagick on Mac OS X 10.8
我正在嘗試在Mountain Lion上安裝GraphicsMagick並遇到問題。 我嘗試了所有可以在博客和其他stackoverflow問題中搜索的內容,但沒有任何效果。 所以我把每一個命令都帶來了一大堆錯誤。 請看看並幫助我。
我跑的時候
brew install graphicsmagick
我明白了
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'
和
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'
在最后我得到了
==> 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
現在,如果我嘗試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
如果我通過brew link --overwrite jpeg
嘗試覆蓋方法brew link --overwrite jpeg
就可以了。 但' 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
之后,當我嘗試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.
請幫我。 提前致謝。
嘗試刪除所有內容並重新開始:
brew uninstall imagemagick graphicsmagick libpng jpeg
brew cleanup -s
brew install graphicsmagick
最近解決了一些問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.