我正在使用Debian 6 x64。 我和这个人有同样的问题: http : //www.imagemagick.org/discourse-server/viewtopic.php? f =10& t= 18459
我尝试了1.0.8和1.0.9版本的php的magickwand,每个版本都提供了imagemagick的镜像。 我遵循正常的编译过程(PHP源代码重build),在这种情况下,PHP-5.4.0(我也试过php-5.3.8)。
随着magickwand 1.0.9和imagemagick 6.7.4-2我在make过程中有这个错误:
ext/magickwand/.libs/magickwand.o: In function `zif_magickgetimageendian': /home/source/php-5.4.0/ext/magickwand/magickwand.c:5764: undefined reference to `MagickGetImageEndian' ext/magickwand/.libs/magickwand.o:(.data.rel.ro+0x2a88): undefined reference to ` zif_magicksetimageendian'
我有3个服务器几乎相同的configuration,它工作没有一个问题,但其他两个编译失败。 我比较了configuration文件和php和imagemagick的文件,所有的都是平等的一个例外。 在失败的两个中,他们从另一个path抓取xml2-config。 我也尝试使用与工作的服务器和失败的两个相同的makefile进行编译。
为什么我的make命令可能失败?
支持php> 5.3最近被添加到Magickwand for php; 更新日志摘录如下:
2011-11-13 1.0.9-0 Herve Seignole
- PHP > 5.3.0 does not define safe mode or php_checkuid (see - http://php.net/manual/en/features.safe-mode). - Use zend_function_entry rather than function_entry.