ImageMagickがインストールできません...

画像の処理やgifアニメを作りたくなったのでHomebrewで入手しようとした所;


u1@div-mm:~$ brew install imagemagick

Warning: You have Xcode 4.2.1, which is outdated.

Please install Xcode 4.3.

==> Installing imagemagick dependency: pkg-config

==> Downloading http://pkg-config.freedesktop.org/releases/pkg-config-0.25.tar.g

######################################################################## 100.0%

==> ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.25 --wit


という警告がでました。最後には、


See `config.log' for more details

config.log was copied to /Users/u1/Library/Logs/Homebrew

==> Build Environment

CPU: quad-core 64-bit sandybridge

MacOS: 10.7.3-x86_64

Xcode: 4.2.1

CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2

CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2

LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2

CFLAGS: -Os -w -pipe -march=core2 -msse4

CXXFLAGS: -Os -w -pipe -march=core2 -msse4

CPPFLAGS: -I/usr/X11/include

LDFLAGS: -L/usr/X11/lib

MAKEFLAGS: -j4

Error: Failed executing: ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.5-7 --disable-dependency-tracking --enable-shared --disable-static --with-modules --without-gslib --with-gs-font-dir=/usr/local/share/ghostscript/fonts --without-magick-plus-plus (imagemagick.rb:134)

These existing issues may help you:

https://github.com/mxcl/homebrew/issues/11372

https://github.com/mxcl/homebrew/issues/11789

Otherwise, please report the bug:

https://github.com/mxcl/homebrew/wiki/reporting-bugs

We saved the configure log, please gist it if you report the issue:

~/Library/Logs/Homebrew/config.log

u1@div-mm:~$ brew list

gdbm jpeg libtiff node tree

git libevent little-cms pcre wget

jasper libiconv nkf pkg-config zsh

u1@div-mm:~$


となりました。これは始めの警告「Xcode 4.2.1は古いからXcode 4.3に変えてね」の結果だと考えて、「App. Store」から「Xcode 4.3.2」を入手し、さらに「Command Line Tools for Xcode-LateMarch2012」をインストールしました。そこで再度brewを実行し、順調そうでした;


u1@div-mm:~$ brew install --git imagemagick

sh: line 1: 650 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null

sh: line 1: 673 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null

==> Downloading http://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6

Already downloaded: /Users/u1/Library/Caches/Homebrew/imagemagick-6.7.5-7.tar.bz2

==> ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/loca

configuring ImageMagick 6.7.5-7

checking build system type... x86_64-apple-darwin11.3.0

checking host system type... x86_64-apple-darwin11.3.0

checking target system type... x86_64-apple-darwin11.3.0

checking whether build environment is sane... yes

checking for a BSD-compatible install... /usr/bin/install -c

checking for a thread-safe mkdir -p... config/install-sh -c -d


が、終わりにはやはりエラーとなりました;


See `config.log' for more details

config.log was copied to /Users/u1/Library/Logs/Homebrew

==> Build Environment

CPU: quad-core 64-bit sandybridge

MacOS: 10.7.3-x86_64

Xcode: 4.3

CC: /usr/bin/clang

CXX: /usr/bin/clang++ => /usr/bin/clang

LD: /usr/bin/clang

CFLAGS: -Os -w -pipe -march=native -Qunused-arguments

CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments

CPPFLAGS: -I/usr/X11/include

LDFLAGS: -L/usr/X11/lib

MAKEFLAGS: -j4

Error: Failed executing: ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.5-7 --disable-dependency-tracking --enable-shared --disable-static --with-modules --without-gslib --with-gs-font-dir=/usr/local/share/ghostscript/fonts --without-magick-plus-plus (imagemagick.rb:134)

These existing issues may help you:

https://github.com/mxcl/homebrew/issues/11372

https://github.com/mxcl/homebrew/issues/11789

Otherwise, please report the bug:

https://github.com/mxcl/homebrew/wiki/reporting-bugs

We saved the configure log, please gist it if you report the issue:

~/Library/Logs/Homebrew/config.log

u1@div-mm:~$


今後、どのように対処すれば良いかをお教えいただけると幸いです。

Mac mini, Mac OS X v10.7.3 Lion

投稿日 2012/04/21 05:19

返信
返信: 3

返信はありません。

このスレッドはシステム、またはAppleコミュニティチームによってロックされました。 問題解決の参考になる情報であれば、どの投稿にでも投票いただけます。またコミュニティで他の回答を検索することもできます。

ImageMagickがインストールできません...

Apple サポートコミュニティへようこそ
Apple ユーザ同士でお使いの製品について助け合うフォーラムです。Apple Account を使ってご参加ください。