I need to install imagemagick, in order that I can offer a php function to create JPEG images from uploaded PDFs (if anyone knows a way to do that without ImageMagick, please do enlighten me.)
yum install ImageMagick with completed with no errors
Having found guidance elsewhere on these forums, I then tried to move on to install the PHP plugin with
pecl install imagick but this fails as follows:
downloading imagick-3.0.1.tgz ... Starting to download imagick-3.0.1.tgz (93,920 bytes) .....................done: 93,920 bytes 13 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 Please provide the prefix of Imagemagick installation [autodetect] : autodetect building in /var/tmp/pear-build-root/imagick-3.0.1 running: /var/tmp/imagick/configure --with-imagick checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... no checking for gcc... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. ERROR: `/var/tmp/imagick/configure --with-imagick' failed
Can anyone help?