CentOS ã® ImageMagick ã¯è ãéã
â»gemããã¤ã³ã¹ãã¼ã«ããæ¹æ³ããImagemagick 6.2.8 㨠Rmagickãã¨ããã¨ã³ããªã«æ¸ããã®ã§ã以ä¸ã®ç¡çç¢çã¤ã³ã¹ãã¼ã«ããæ¹æ³ã¯ä½¿ããªãæ¹ããããããã¨ãããããããªæ¹æ³ãããããã¨ããäºã§æ®ãã¦ãããã ãï¼
WebARENA SUitePRO V2 ã«ã Rails ãµã¼ããä¸ã¤ç¨æãããã¨ãªã£ãã¨ãããååã® Passenger ãã¤ã³ã¹ã³ã§ããªãï¼ã®ç¶ããªãã§ããã
ã¨ãããã Passenger ãå ¥ã£ãã®ã§ãèµ·åãã¦ã¿ããã¨æã£ããã対象ã®ããã¸ã§ã¯ãã¯ã©ããã RMagick ãå©ç¨ãã¦ããããããèµ·åç»é¢ã§ããããã¦ãã¾ãã¾ãããã®ã§ããã¤ãã®ããã«ã¤ã³ã¹ãã¼ã«ã
# gem install RMagick
ã¨ã©ã¼ãããããã° RMagick 2.0.0 以ä¸ã¯ ImageMagick 6.3.0 以éã®ã¿å¯¾å¿ã§ãããã¨ããããã§ãrpm ãåé¤ãã¦ã½ã¼ã¹ã¤ã³ã¹ãã¼ã«ãã¾ãã
# rpm -e ImageMagick* $ wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz $ tar -zxvf ImageMagick.tar.gz $ ./configure --prefix=/usr/local/ $ make $ make install
ã¯ãã¯ãã¨ã©ã¼ã¨ã©ã¼ãä»å試ããã®ã¯6.4.9ã¨6.5.0(ããªï¼)ã ã£ãã®ã§ããã両ãã¼ã¸ã§ã³ã§éãã¨ã©ã¼ãããã¯ãæå³ãåãããªããã°ã°ãã¦ã解決ããªããããããã¯ãã©ããããããªãæãåºã¦ããã®ã§ãã£ãããã¦ããããæ¨æ¥ã«å¼ãç¶ã id:ecp ã«
å¤ããã¼ã¸ã§ã³ãªã RMagick ããããããã
ã¨ããå©è¨ãããã£ãã®ã§ãå度 yum ãã ImageMagick ãã¤ã³ã¹ãã¼ã«ãã¦å¤ããã¼ã¸ã§ã³ã® RMagick ãã¤ã³ã¹ã³ãããã¨ã«ã
# yum install ImageMagick* # yum install ImageMagick-devel* # gem install rmagick -v=1.15.0
ã¨ã©ã¼ããã£ãããããããããããããã¨æã£ã¦ãããã以ä¸ã®ãã¼ã¸ãçºè¦ã
http://www.goodpic.com/mt/archives2/2007/01/imagemagick_rma.html
tar-ball ããã¤ã³ã¹ãã¼ã«ããå ´åãMake ã¨ã©ã¼ãåºã¦ã Makefile ãããã°ã¤ã³ã¹ãã¼ã«ã§ãããããã
$ wget http://rubyforge.org/frs/download.php/47972/RMagick-1.15.17.tar.gz $ tar -zxvf RMagick-1.15.17.tar.gz $ ./configure $ make # make install $ irb irb > require 'RMagick' => true
ãããããããããããããããããããã