用rpm包。
到ImageMagick官方网站下载rpm包

解决方案 »

  1.   

    谢谢,rpm在redhat下可以,freebsd下好像不行
      

  2.   

    http://www.imagemagick.org/www/download.html?用unix版本自己编译http://www.imagemagick.net/download/ImageMagick-6.1.1-2.tar.gz觉得麻烦就试试用ports安装:cd /usr/ports/graphics/ImageMagick-6.0.6.2
    make instal clean
      

  3.   

    我用port装了,在编译 
    test# phpize
    Configuring for:
    PHP Api Version:         20031224
    Zend Module Api No:      20040412
    Zend Extension Api No:   220040412
    aclocal: not found
    请问这是什么原因
      

  4.   

    就只有这些信息?跟zend有关系?之前你的php环境是?
      

  5.   

    环境是php5.0.1
    我按照imagick的INSTALL来做的
    1) make sure the path to Magick-config (the ImageMagick configuration
       script) is in your PATH environment variable
    2) cd /usr/src/php/ext
    3) untar the imagick tar
    4) if the directory created is anything other then imagick, rename it to
       imagick
    5) cd /usr/src/php/ext/imagick
    6) phpize
    到这一步就出现了上面的错误
      

  6.   

    我听人说是没有装automake和autoconf,现在装了,出现以下错误
    test# phpize
    Configuring for:
    PHP Api Version:         20031224
    Zend Module Api No:      20040412
    Zend Extension Api No:   220040412
    configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
      run info '(automake)Extending aclocal'
      or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
    configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
    configure.in:33: warning: underquoted definition of PHP_EXT_DIR
    configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
    configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
    acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
    acinclude.m4:1903: warning: underquoted definition of PHP_TEST_BUILD
    configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    -f: not found
      

  7.   

    用ports安装会自动把你缺少的东西补上,把你的环境改为php4试试吧。