Page 1 of 1

Installing Imagic on Amazon EC Linux

Posted: 2017-11-25T09:56:41-07:00
by pvla
Hi Folks,
I am working with AWS EC2 Linux system and have requirement to install ImageMagick 6.9.3-10

sudo yum install libpng-devel libjpeg-devel libtiff-devel libwebp-devel giflib-devel
wget http://www.imagemagick.org/download/ImageMagick.tar.gz
tar -vxf ImageMagick.tar.gz
cd ImageMagick-7.0.3-0/
./configure --without-x

Right after that I get this error:
configure: error: in `/var/www/html/ImageMagick-7.0.7-11':
configure: error: no acceptable C compiler found in $PATH

I am running:
PHP 7.0.25 (cli) (built: Nov 13 2017 22:54:55) ( NTS )

Any help will be appreciated.
Thanks.
Pv.

Re: Installing Imagic on Amazon EC Linux

Posted: 2017-11-25T10:10:18-07:00
by snibgo
config.log may contain more information, but it seems you don't have a C compiler, which is unusual for Linux.

Re: Installing Imagic on Amazon EC Linux

Posted: 2017-11-25T11:21:10-07:00
by pvla
Adding the compile fixed it.

yum install gcc gcc-c++ autoconf automake