Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install imagemagick with brew on Mac OS X mavericks

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

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 

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

$ brew install imagemagick --disable-openmp 

brew doctor command result has no problem.

$ brew doctor Your system is ready to brew. 
like image 416
Gogo Tanaka Avatar asked Aug 23 '14 08:08

Gogo Tanaka


People also ask

Where is ImageMagick installed on Mac?

If ImageMagick is installed via MacPorts, then the convert command lives in /opt/local/bin/. It is this directory that needs to get on the PATH environment variable.


1 Answers

Have you tried a

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

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

like image 119
0x4a6f4672 Avatar answered Sep 22 '22 21:09

0x4a6f4672