免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2309 | 回复: 0
打印 上一主题 下一主题

编译安装 imagick 出错,求高手指点! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-02-03 22:19 |只看该作者 |倒序浏览
tar zxvf imagick-3.0.1.tgz && cd imagick-3.0.1 && /usr/local/webserver/php/bin/phpize
./configure --with-php-config=/usr/local/webserver/php/bin/php-config
make

make开始出错:
  1. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9559: error: expected ‘;’ before ‘status’
  2. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9568: error: ‘status’ undeclared (first use in this function)
  3. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9568: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  4. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9571: error: ‘MagickFalse’ undeclared (first use in this function)
  5. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9572: error: ‘ExceptionType’ undeclared (first use in this function)
  6. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9572: error: expected ‘;’ before ‘severity’
  7. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9572: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  8. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9572: error: ‘severity’ undeclared (first use in this function)
  9. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9572: warning: assignment makes pointer from integer without a cast
  10. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9572: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  11. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_setsamplingfactors’:
  12. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9584: error: ‘MagickBooleanType’ undeclared (first use in this function)
  13. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9584: error: expected ‘;’ before ‘status’
  14. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9602: error: ‘status’ undeclared (first use in this function)
  15. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9602: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  16. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9606: error: ‘MagickFalse’ undeclared (first use in this function)
  17. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9607: error: ‘ExceptionType’ undeclared (first use in this function)
  18. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9607: error: expected ‘;’ before ‘severity’
  19. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9607: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  20. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9607: error: ‘severity’ undeclared (first use in this function)
  21. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9607: warning: assignment makes pointer from integer without a cast
  22. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9607: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  23. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_setsize’:
  24. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9620: error: ‘MagickBooleanType’ undeclared (first use in this function)
  25. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9620: error: expected ‘;’ before ‘status’
  26. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9628: error: ‘status’ undeclared (first use in this function)
  27. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9628: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  28. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9631: error: ‘MagickFalse’ undeclared (first use in this function)
  29. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9632: error: ‘ExceptionType’ undeclared (first use in this function)
  30. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9632: error: expected ‘;’ before ‘severity’
  31. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9632: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  32. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9632: error: ‘severity’ undeclared (first use in this function)
  33. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9632: warning: assignment makes pointer from integer without a cast
  34. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9632: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  35. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c: In function ‘zim_imagick_settype’:
  36. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9645: error: ‘MagickBooleanType’ undeclared (first use in this function)
  37. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9645: error: expected ‘;’ before ‘status’
  38. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9653: error: ‘status’ undeclared (first use in this function)
  39. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9653: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  40. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9656: error: ‘MagickFalse’ undeclared (first use in this function)
  41. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9657: error: ‘ExceptionType’ undeclared (first use in this function)
  42. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9657: error: expected ‘;’ before ‘severity’
  43. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9657: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  44. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9657: error: ‘severity’ undeclared (first use in this function)
  45. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9657: warning: assignment makes pointer from integer without a cast
  46. /usr/local/lnmpsrc/imagick-3.0.0/imagick_class.c:9657: error: ‘php_imagick_object’ has no member named ‘magick_wand’
  47. make: *** [imagick_class.lo] Error 1
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP