Home > ImageMagickのインストール

ImageMagickのインストール

  • 2009-02-27 (金) 7:58

 

http://imagemagick.sourceforge.net/

ImageMagick6.2.x以降はTurbolinuxではインストールに失敗するので
デフォルトでインストールされているfreetype関連のフォルダをリネームしておく。

mv /usr/include/freetype /usr/include/freetype.bak
mv /usr/include/freetype2 /usr/include/freetype2.bak
mv /usr/include/libxml2 /usr/include/libxml2.bak

既にApache + PHP をコンパイルしてインストールしている事を前提に。

./configure \
--enable-lzw \
--without-x \
--with-perl=/usr/bin/perl \
--with-jpeg=/usr/local/lib \
--with-png=/usr/local/lib \
--with-zlib=/usr/local/lib \
--with-xml=/usr/local/lib

make ; make install

リネームを戻す
mv /usr/include/freetype.bak /usr/include/freetype
mv /usr/include/freetype2.bak /usr/include/freetype2
mv /usr/include/libxml2.bak /usr/include/libxml2

ImageMagick6.2.x以降はTurbolinuxではインストールに失敗する。
freetype2がどうも駄目らしいので
Xを使ってなければ、freetype2を削除する。
ついでに、libpng libjpegも削除してしまう。
zlibはいろいろ関連付けがあるし、zabomもアンインストールされるので保留
アンインストール後はそれぞれコンパイルしてインストールしておく。

MagickWand For PHPと関連付けするために最小限なオプションで・・・
コンフィギュアはこれだけ

./configure \
--with-quantum-depth=8

make

make install

--------------------------------------------------
旧 Ver5
--------------------------------------------------
./configure \
CXX=c++ CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib -R/usr/local/lib' \
--with-modules \
--enable-lzw \
--with-perl=/usr/bin/perl \
--enable-shared

Comments:0

Comment Form
Remember personal info

Trackbacks:0

Trackback URL for this entry
http://acoustype.com/imagemagick%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/trackback
Listed below are links to weblogs that reference
ImageMagickのインストール from acoustype.com

Home > ImageMagickのインストール

Search
Feeds
Meta

Return to page top