Instalacja GraphicsMagick na Mac OS X 10.8

Próbuję zainstalować GraphicsMagick na Mountain Lion i mieć problemy. Próbowałem wszystkich rzeczy, które mogłem wyszukać w blogach i innych pytaniach dotyczących stackoverflow, ale nic nie działało. Więc położyłem cały stos błędów, które otrzymałem na każde polecenie. Spójrz i pomóż mi.

Kiedy uciekam

brew install graphicsmagick

rozumiem

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'

i

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'

iw końcu dostaję

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

Teraz, jeśli spróbujębrew link jpeg lubbrew link libpng Dostaję ten błąd

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

Jeśli wypróbuję metodę nadpisywania, robiąc tobrew link --overwrite jpeg zadziałało. Ale 'brew link --overwrite libpng' Rozumiem

Linking /usr/local/Cellar/libpng/1.5.14... Warning: Could not link libpng. Unlinking...

Error: Permission denied - /usr/local/share/man/man5/png.5

A potem, kiedy próbujębrew link graphicsmagick Dostaję:

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.

Proszę pomóż mi. Z góry dziękuję.

questionAnswers(1)

yourAnswerToTheQuestion