Brew: No such keg for ImageMagick

288 views
Skip to first unread message

Cedric St-Jean

unread,
Nov 16, 2015, 3:22:18 PM11/16/15
to julia-users
My update to OSX El Capitan brought along a bunch of brew updates which broke my ImageMagick install. I followed someone's advice to

rm -rf ~/.julia/v0.4/Homebrew/deps/usr/Cellar/imagemagick

but maybe that was bad advice :) Now I can't build it at all:

> Pkg.build("ImageMagick")

INFO: Building Homebrew
From https://github.com/Homebrew/homebrew
   e7a3153
..160f3a3  master     -> origin/master
HEAD is now at 160f3a3 audit: respect umask in formula file mode check
HEAD
is now at 4a13095 Merge pull request #85 from staticfloat/staging
INFO: Building ImageMagick
Error: No such keg: /Users/cedric/.julia/v0.4/Homebrew/deps/usr/Cellar/imagemagick
=============================[ ERROR: ImageMagick ]=============================

LoadError: failed process: Process(`/Users/cedric/.julia/v0.4/Homebrew/deps/usr/bin/brew unlink --quiet imagemagick`, ProcessExited(1)) [1]
while loading /Users/cedric/.julia/v0.4/ImageMagick/deps/build.jl, in expression starting on line 92

How should I "bring it back"? I've tried `Pkg.rm("ImageMagick")` then `Pkg.add("ImageMagick")`, but that just fails. I could brew install it at the command line, but apparently that's a bad idea for ImageMagick specifically.

Cédric

Cedric St-Jean

unread,
Nov 16, 2015, 9:50:42 PM11/16/15
to julia-users
Solved it

cd ~/.julia/v0.4/Homebrew/deps/usr/bin
./brew install imagemagick

This brought the keg back, then I could Pkg.build("ImageMagick")
Reply all
Reply to author
Forward
0 new messages