我正在尝试在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.
我已经酿造更新了。它已经是最新的了。
—
Kleber S.
您可能必须手动更新,最近我们遇到了问题:github.com/mxcl/homebrew/…–
—
Adam Vandenberg
升级到Lion后,您是否重新安装了xcode?如果您事先安装了该软件,则该安装将不再起作用。我有同样的问题,尽管不是imagemagick。
—
特拉维斯
使用上面提到的脚本解决了。谢谢!
—
Kleber S.
brew update
; 我们现在为ImageMagick使用了另一面镜子,而adamv镜子不见了。