zoukankan      html  css  js  c++  java
  • 进度记录 和 安装imagick时Cannot locate header file MagickWand.h错误的解决

    修改php.ini文件,已使php支持扩展的功能

    [root@localhost imagick-2.2.2]# ./configure --with-php-config=/usr/local/php/bin/php-config
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/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... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for PHP prefix... /usr/local/php
    checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
    checking for PHP installed headers prefix... /usr/local/php/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking whether to enable the imagick extension... yes, shared
    checking whether to enable the imagick GraphicsMagick backend... no
    checking ImageMagick MagickWand API configuration program... found in /usr/local/bin/MagickWand-config
    checking if ImageMagick version is at least 6.2.4... found version 6.9.2 Q16
    checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h
    [root@localhost imagick-2.2.2]#

    解决办法:http://www.92csz.com/30/1232.html

  • 相关阅读:
    viewport就是这回事
    js资源加载优化
    Hybrid框架UI重构之路:六、前端那点事儿(Javascript)
    Hybrid框架UI重构之路:五、前端那点事儿(HTML、CSS)
    Hybrid框架UI重构之路:四、分而治之
    Hybrid框架UI重构之路:三、工欲善其事,必先利其器
    Hybrid框架UI重构之路:二、事出有因
    Hybrid框架UI重构之路:一、师其长技以自强
    读《数据结构与算法 Javascript描述》 | 平淡无奇
    hybird之web动态换肤实现
  • 原文地址:https://www.cnblogs.com/jiufen/p/5017070.html
Copyright © 2011-2022 走看看