Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
server-administration:imagick-class-error [2010-06-23 20:45:40]
garrett.plasky
server-administration:imagick-class-error [2011-05-13 23:49:30]
garrett.plasky Approved
Line 7: Line 7:
 When trying to install via PECL, the error will be: When trying to install via PECL, the error will be:
  
-<code console>...+<sxh plain>...
 make: *** [imagick_helpers.lo] Error 1 make: *** [imagick_helpers.lo] Error 1
-ERROR: `make' failed</code>+ERROR: `make' failed</sxh>
  
 To work around this, we will install newer versions of ImageMagick. First we'll grab the .rpm and the pre-requisites: To work around this, we will install newer versions of ImageMagick. First we'll grab the .rpm and the pre-requisites:
  
-<code console>wget ftp://ftp.pbone.net/mirror/centos.karan.org/el5/misc/testing/i386/RPMS/ImageMagick-6.6.0.2-8.el5.kb.1.i386.rpm ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/i386/RPMS/jasper-devel-1.900.1-7.el5.kb.i386.rpm ftp://ftp.pbone.net/mirror/centos.karan.org/el5/misc/testing/i386/RPMS/ImageMagick-devel-6.6.0.2-8.el5.kb.1.i386.rpm ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/i386/RPMS/jasper-libs-1.900.1-7.el5.kb.i386.rpm</code>+<sxh bash>wget ftp://ftp.pbone.net/mirror/centos.karan.org/el5/misc/testing/i386/RPMS/ImageMagick-6.6.0.2-8.el5.kb.1.i386.rpm ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/i386/RPMS/jasper-devel-1.900.1-7.el5.kb.i386.rpm ftp://ftp.pbone.net/mirror/centos.karan.org/el5/misc/testing/i386/RPMS/ImageMagick-devel-6.6.0.2-8.el5.kb.1.i386.rpm ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/i386/RPMS/jasper-libs-1.900.1-7.el5.kb.i386.rpm</sxh>
  
 Next, we'll install them: Next, we'll install them:
  
-<code console>rpm -Uvh rpm -Uvh ImageMagick-devel-6.6.0.2-8.el5.kb.1.i386.rpm ImageMagick-6.6.0.2-8.el5.kb.1.i386.rpm jasper-libs-1.900.1-7.el5.kb.i386.rpm jasper-devel-1.900.1-7.el5.kb.i386.rpm</code>+<sxh bash>rpm -Uvh rpm -Uvh ImageMagick-devel-6.6.0.2-8.el5.kb.1.i386.rpm ImageMagick-6.6.0.2-8.el5.kb.1.i386.rpm jasper-libs-1.900.1-7.el5.kb.i386.rpm jasper-devel-1.900.1-7.el5.kb.i386.rpm</sxh>
  
 Finally, we re-install the PECL extension and restart the webserver: Finally, we re-install the PECL extension and restart the webserver:
  
-<code console>pecl install Imagick +<sxh bash>pecl install Imagick 
-/scripts/restartsrv_apache</code>+/scripts/restartsrv_apache</sxh>
  
 If you are using a non-cPanel server, use whatever method you would normally use to restart your webserver (e.g. <c>service httpd restart</c>. If you are using a non-cPanel server, use whatever method you would normally use to restart your webserver (e.g. <c>service httpd restart</c>.