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.
Installing Imagic on Amazon EC Linux
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Installing Imagic on Amazon EC Linux
config.log may contain more information, but it seems you don't have a C compiler, which is unusual for Linux.
snibgo's IM pages: im.snibgo.com
Re: Installing Imagic on Amazon EC Linux
Adding the compile fixed it.
yum install gcc gcc-c++ autoconf automake
yum install gcc gcc-c++ autoconf automake