IT story

homebrew와 함께 imagemagick을 어떻게 설치합니까?

hot-time 2020. 5. 15. 08:07
반응형

homebrew와 함께 imagemagick을 어떻게 설치합니까?


OSX Lion에 Imagemagick를 설치하려고하는데 예상대로 작동하지 않습니다.

-> brew install imagemagick

/usr/local/git/bin/git
==> Cloning https://github.com/adamv/ImageMagick.git
Cloning into /Users/klebershimabuku/Library/Caches/Homebrew/imagemagick--git...
fatal: https://github.com/adamv/ImageMagick.git/info/refs not found: did you run git      update-server-info on the server?
Error: Failure while executing: git clone --depth 1 https://github.com/adamv/ImageMagick.git /Users/kleber/Library/Caches/Homebrew/imagemagick--git

양조 의사의 말 :

-> brew doctor
We couldn't detect gcc 4.0.x. Some formulae require this compiler.

Some "config" scripts were found in your path, but not in system or Homebrew folders.

`./configure` scripts often look for *-config scripts to determine if software packagesare installed, and what additional flags to use when compiling and linking.

Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name.

/Users/kleber/.rvm/gems/ruby-1.9.2-p180@global/bin
passenger-config

Setting DYLD_LIBARY_PATH can break dynamic linking.
You should probably unset it.

그리고 예, XCode 4.1이 설치되어 실행 중입니다.

-> brew update
From http://github.com/mxcl/homebrew
* branch            master     -> FETCH_HEAD
Already up-to-date.

나를 위해 가장 빠른 해결책은 다음을 수행하는 것입니다.

cd /usr/local
git reset --hard FETCH_HEAD

그런 다음 다시 시도 brew install imagemagick하여 adamv 대신 새 미러에서 패키지를 올바르게 가져 왔습니다.

그래도 작동 /Library/Caches/Homebrew하지 않으면 imagemagick 파일이나 폴더가 포함되어 있지 않은지 확인 하십시오. 그렇다면 삭제하십시오.


시도해 볼 수 있습니다 :

brew update && brew install imagemagick


brew install imagemagick

gs예를 들어 pdf를 이미지로 변환하려는 경우 종속성 인 설치를 잊지 마십시오 .

brew install ghostscript

당신은 할 수 있습니다 :

brew reinstall php55-imagick

여기서 php55는 PHP 버전입니다.

참고 URL : https://stackoverflow.com/questions/7053996/how-do-i-install-imagemagick-with-homebrew

반응형