Imagemagick Installation problem please help

soul3

Member
Mar 13, 2008
7
0
51
Hi,

I have install imagemagick through cpanel I have cpanel with Centos when I install it through cpanel I got an error.

downloading imagick-2.1.1.tgz ...
Starting to download imagick-2.1.1.tgz (74,980 bytes)
.................done: 74,980 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
1. Please provide the prefix of Imagemagick installation : autodetect

1-1, 'all', 'abort', or Enter to continue: building in /root/tmp/pear-build-root/imagick-2.1.1
running: /root/tmp/pear/imagick/configure --with-imagick
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/root/tmp/pear/imagick/configure --with-imagick' failed
The imagick.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613


Someone please tell me how ca I fix this error.

Regards,
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
Is your tmp/ mounted with noexec? If so, remove noexec for the install.
 

soul3

Member
Mar 13, 2008
7
0
51
Thanks for your reply can you please explane me how do I know tmp/ mounted with noexec? how can I remove noexec for the installation ?
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
In ssh session, you can type:
mount

Locate your tmp entry and check the options.
 

johnmigen

Active Member
Jan 19, 2008
43
0
56
You may want to do a manual install instead, if unmounting and mounting don't seemed appealing to you.

First, remove any old RPM installs:
rpm -qa | grep -i Magick
rpm -e anything that pops up

Install ImageMagick
yum install glib
yum install glib2
yum install libpng
yum install libjpeg
yum install libtiff
yum install ghostscript
yum install freetype
yum install ImageMagick
yum install ImageMagick-perl

Reference from:
http://wiki.movabletype.org/Installation_of_ImageMagick
 

big

Well-Known Member
Aug 12, 2001
224
0
316
Earth
You may want to do a manual install instead, if unmounting and mounting don't seemed appealing to you.

First, remove any old RPM installs:
rpm -qa | grep -i Magick
rpm -e anything that pops up

Install ImageMagick
yum install glib
yum install glib2
yum install libpng
yum install libjpeg
yum install libtiff
yum install ghostscript
yum install freetype
yum install ImageMagick
yum install ImageMagick-perl

Reference from:
http://wiki.movabletype.org/Installation_of_ImageMagick
thanks thanks thanks thanks
 

SB-Nick

Well-Known Member
Aug 26, 2008
175
9
68
cPanel Access Level
Root Administrator
Thanks for your reply can you please explane me how do I know tmp/ mounted with noexec? how can I remove noexec for the installation ?
Just type 'umount -l /tmp' and redo the IM install.
Once done, type 'mount /tmp'.