2013-07-19 43 views
24

Mountain LionにGraphicsMagickをインストールしようとしていますが、問題があります。私はブログや他のstackoverflowの質問で検索できるすべてのことを試みたが、何も働かなかった。だから、私は各コ​​マンドで得られるエラーの完全なスタックを入れました。見て、私を助けてください。Mac OS X 10.8にGraphicsMagickをインストールする

私は

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しようとした場合、私はそれが働いた brew link --overwrite jpegを行うことで上書きする方法をしようとした場合

は今、私はこのエラー

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 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. 

私を助けてください。前もって感謝します。

+1

最近、私にいくつかの問題を解決しまし '醸造doctor'があなたに何を教えてくれありませんか? –

答えて

31

すべてを削除してみて、再び起動します。

brew uninstall imagemagick graphicsmagick libpng jpeg 
brew cleanup -s 
brew install graphicsmagick 

+12

まだ権限エラーが発生した場合は、 'sudo chown -R $ USER:admin/usr/local'を実行してください。 – joet3ch

+0

Macにグラフィックスmagickをインストールする際の構文をありがとう。このインストールにはPHPの拡張機能が含まれていますか?アプリでアクセスしようとすると、クラス 'GMagick'が見つかりません。 –

関連する問題