无法在Mac OS X mavericks上使用brew安装imagemagick [英] Can't install imagemagick with brew on Mac OS X mavericks

查看:106
本文介绍了无法在Mac OS X mavericks上使用brew安装imagemagick的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac OS X版本10.9.4上使用Homebrew v0.9.5

I am using Homebrew v0.9.5 on my Mac OS X version 10.9.4

当我运行命令:brew install imagemagick时,发生了此错误。

When I run the command: `brew install imagemagick, this error occurred.

$ brew install imagemagick
==> Installing dependencies for imagemagick: libpng, freetype
==> Installing imagemagick dependency: libpng
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.12.mavericks.bottle.tar.gz

curl: (7) Failed connect to downloads.sf.net:443; Operation timed out
Error: Failed to download resource "libpng"
Download failed: https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.12.mavericks.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://downloads.sf.net/project/libpng/libpng16/1.6.12/libpng-1.6.12.tar.gz

curl: (7) Failed connect to downloads.sf.net:443; Operation timed out
Error: Failed to download resource "libpng"
Download failed: https://downloads.sf.net/project/libpng/libpng16/1.6.12/libpng-1.6.12.tar.gz

我添加了--disable-openmp选项,它也不顺利。

I have added --disable-openmp option, it also doesn't go well.

$ brew install imagemagick --disable-openmp

brew医生指令结果没有问题。

brew doctor command result has no problem.

$ brew doctor
Your system is ready to brew.


推荐答案

你试过

$ brew update
$ brew install imagemagick --disable-openmp --build-from-source

显然在Mac OS 10.8(Mountain Lion)上似乎已经解决了这个问题。以前我用brew versions imagemagick和git checkout e68e443检查了最新的imagemagick brew食谱,参见这里这里

Apparently that seemed to fix it for me on Mac OS 10.8 (Mountain Lion). Previously I checked out the latest imagemagick brew recipe with "brew versions imagemagick" and "git checkout e68e443", see here and here

这篇关于无法在Mac OS X mavericks上使用brew安装imagemagick的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆