J’essaie d’installer Imagemagick sur OSX Lion mais quelque chose ne fonctionne pas comme prévu.
-> 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
le docteur de la bière dit:
-> brew doctor We couldn't detect gcc 4.0.x. Some formulae require this comstackr. 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.
Et oui, j’ai XCode 4.1 installé et en cours d’exécution.
-> brew update From http://github.com/mxcl/homebrew * branch master -> FETCH_HEAD Already up-to-date.
La solution la plus rapide pour moi était la suivante:
cd /usr/local git reset --hard FETCH_HEAD
Ensuite, j’ai brew install imagemagick
et il a correctement extrait le package du nouveau miroir, au lieu de adamv.
Si cela ne fonctionne pas, assurez-vous que /Library/Caches/Homebrew
ne contient aucun fichier ou dossier imagemagick. Supprimez-les si c’est le cas.
Tu pourrais essayer:
brew update && brew install imagemagick
brew install imagemagick
N’oubliez pas d’installer également gs
qui est une dépendance si vous souhaitez convertir des fichiers PDF en images, par exemple:
brew install ghostscript
Vous pourriez faire:
brew reinstall php55-imagick
Où php55 est votre version de PHP.