Cannot install Pecl (Imagick) extension on Centos server - autoconf missing
Posted
by
Stevo
on Server Fault
See other posts from Server Fault
or by Stevo
Published on 2012-09-29T06:57:41Z
Indexed on
2012/09/29
9:39 UTC
Read the original article
Hit count: 277
I'm trying to install the pecl extension Imagick on a centos server, but I'm getting an error about autoconf. Autoconf is installed, as is make and gcc. but it's complaining about the path:
[root@server ~]# pecl install imagick
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: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
/usr/bin/phpize: /var/tmp/imagick/build/shtool: /bin/sh: bad interpreter: Permission denied
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
What should I do?
© Server Fault or respective owner