Php imagick安装错误pecl安装imagick
我正在安装imagick的最后一步,收到一个错误。我对centos一无所知,所以我要去找专家。这是我得到的错误。关于如何让它工作有什么帮助吗?我的服务器是一个专用的中间示例Php imagick安装错误pecl安装imagick,php,linux,centos,imagick,Php,Linux,Centos,Imagick,我正在安装imagick的最后一步,收到一个错误。我对centos一无所知,所以我要去找专家。这是我得到的错误。关于如何让它工作有什么帮助吗?我的服务器是一个专用的中间示例 [root@furkidgrid ~]# which Wand-config /usr/bin/Wand-config [root@furkidgrid ~]# pecl install imagick downloading imagick-3.1.2.tgz ... Starting to download imagic
[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
我建议你联系我。一般来说,
yum-install
是安装系统软件包的方式。感谢您的帮助!