2013年4月15日月曜日

iMac-08 Imagemagick

いきなり brew install imagemagick だと
displayコマンドで、
display: delegate library support not built-in `' (X11) @ error/display.c/DisplayImageCommand/1909.
となる。そこで、
brew uninstall imagemagick したあと次のものを入れた。

(1) XQuartz
http://support.apple.com/kb/HT5293 About X11 and OS X Mountain Lion
http://xquartz.macosforge.org/landing/ XQuartz-2.7.4.dmg

(2) ImageMagick installer
http://cactuslab.com/imagemagick/

ImageMagick 6.8.4-8 for Mac OS X 10.5 – 10.8
With FreeType support. Requires XQuartz. (9.8 MB) ImageMagick6.8.4-8-with-X.pkg.zip

(3) brew install imagemagick --with-x11
==> Installing imagemagick dependency: pkg-config
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-
######################################################################## 100.0%
==> Pouring pkg-config-0.28.mountain_lion.bottle.tar.gz
#  /usr/local/Cellar/pkg-config/0.28: 10 files, 636K
==> Installing imagemagick
==> Downloading http://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6
######################################################################## 100.0%
==> ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/loca
==> make install
#  /usr/local/Cellar/imagemagick/6.8.0-10: 1405 files, 45M, built in 83 seconds

上記の(2)はどのように影響するのかわかっていない。

% display -list configure | egrep '^DELEGATES|^VERSION'
DELEGATES      bzlib fontconfig freetype jpeg jng png x11 xml zlib
VERSION        6.8.0

文頭のエラーで動かないときは、DELEGATESに x11 がないときのようだ。


0 件のコメント:

コメントを投稿