想象安装错误pecl安装imagick

时间:2013-11-21 02:04:51

标签: php linux centos imagick

我正在安装imagick的最后一步,我收到了一个错误。我对centos一无所知,所以我来找专家。这是我得到的错误。有关如何使其工作的任何帮助?我的服务器专用于mediatemple。

[root@furkidgrid ~]# which Wand-config
/usr/bin/Wand-config
[root@furkidgrid ~]# pecl install imagick
downloading imagick-3.1.2.tgz ...
Starting to download imagick-3.1.2.tgz (94,657 bytes)
.....................done: 94,657 bytes
15 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
Please provide the prefix of Imagemagick installation [autodetect] : /usr/
building in /var/tmp/pear-build-root/imagick-3.1.2
running: /root/tmp/pear/temp/imagick/configure --with-imagick=/usr/
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ERROR: `/root/tmp/pear/temp/imagick/configure --with-imagick=/usr/' failed

0 个答案:

没有答案