ممنون وشکا جان
من این کار رو قبلا هم انجام داده بودم ولی نمیشه
کد:root@host [~]# 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: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 Please provide the prefix of Imagemagick installation [autodetect] : building in /var/tmp/pear-build-root/imagick-3.0.1 running: /root/tmp/pear/imagick/configure --with-imagick checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc 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/imagick/configure --with-imagick' failed





پاسخ با نقل قول