打印

安装imagemagick失败

安装imagemagick失败

默认的一键安装,没有改动任何文件,用命令./addons.sh install imagemagick的时候,显示安装失败提示信息:
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking for pkg-config... /bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/imagemagick/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/imagemagick/bin/Wand-config... Doesn't exist
checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/bin/Wand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/Wand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/Wand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/Wand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/Wand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
imagick install failed!

TOP

前面imagemagick安装时应该是没安装成功
你贴出的是imagick的安装报错信息

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

回复 2# 的帖子

不知道为什么,试过好几次,都是不成功

TOP

回复 3# 的帖子

往前翻翻查看具体报错原因或者  ./addons.sh install imagemagick  2>&1 | tee /root/imagemagick-install.log 记录下完整安装错误信息

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

回复 4# 的帖子

Install documentation:                        yes

  Delegate Library Configuration:
  BZLIB             --with-bzlib=yes                yes
  Autotrace         --with-autotrace=no                no
  DJVU              --with-djvu=yes                no
  DPS               --with-dps=yes                no
  FFTW              --with-fftw=yes                no
  FLIF              --with-flif=yes                no
  FlashPIX          --with-fpx=yes                no
  FontConfig        --with-fontconfig=yes        yes
  FreeType          --with-freetype=yes                yes
  Ghostscript lib   --with-gslib=no                no
  Graphviz          --with-gvc=yes                no
  HEIC              --with-heic=yes              no
  JBIG              --with-jbig=yes                no
  JPEG v1           --with-jpeg=yes                yes
  LCMS              --with-lcms=yes                no
  LQR               --with-lqr=yes                no
  LTDL              --with-ltdl=yes                no
  LZMA              --with-lzma=yes                yes
  Magick++          --with-magick-plus-plus=yes        yes
  OpenEXR           --with-openexr=yes                no
  OpenJP2           --with-openjp2=yes                no
  PANGO             --with-pango=yes                no
  PERL              --with-perl=no                no
  PNG               --with-png=yes                yes
  RAQM              --with-raqm=yes                no
  RAW               --with-raw=yes    no
  RSVG              --with-rsvg=no                no
  TIFF              --with-tiff=yes                no
  WEBP              --with-webp=yes                yes
  WMF               --with-wmf=yes                no
  X11               --with-x=                        yes
  XML               --with-xml=yes                yes
  ZLIB              --with-zlib=yes                yes

  Delegate Program Configuration:
  GhostPCL          None                                pcl6 (unknown)
  GhostXPS          None                                gxps (unknown)
  Ghostscript       None                                gs (unknown)

  Font Configuration:
  Apple fonts       --with-apple-font-dir=default       
  Dejavu fonts      --with-dejavu-font-dir=default        none
  Ghostscript fonts --with-gs-font-dir=default        none
  URW-base35 fonts  --with-urw-base35-font-dir=default  none
  Windows fonts     --with-windows-font-dir=default        none

  X11 Configuration:
        X_CFLAGS        =
        X_PRE_LIBS      =
        X_LIBS          =
        X_EXTRA_LIBS    =

  Options used to compile and link:
    PREFIX          = /usr/local/imagemagick
    EXEC-PREFIX     = /usr/local/imagemagick
    VERSION         = 7.0.7
    CC              = gcc -std=gnu99 -std=gnu99
    CFLAGS          = -I/usr/include/libxml2     -I/usr/include/libpng15     -I/usr/include/freetype2 -I/usr/include/libpng15   -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng15      -fopenmp -g -O2 -Wall -mtune=core2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    CPPFLAGS        =   -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    PCFLAGS         =
    DEFS            = -DHAVE_CONFIG_H
    LDFLAGS         =  
    LIBS            =
    CXX             = g++
    CXXFLAGS        = -g -O2 -pthread
    FEATURES        = DPC HDRI Cipher OpenMP
    DELEGATES       = bzlib mpeg fontconfig freetype jng jpeg lzma png webp x xml zlib
==============================================================================

make  all-am
make[1]: Entering directory `/data/lnmp1.5/src/ImageMagick-7.0.7-35'
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-accelerate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-animate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-annotate.lo
In file included from MagickCore/annotate.c:91:0:
MagickCore/annotate.c: In function ?.enderFreetype?.
/usr/include/freetype2/freetype/freetype.h:801:37: error: ?.T_ENCODING_PRC?.undeclared (first use in this function)
#define ft_encoding_gb2312          FT_ENCODING_PRC
                                     ^
MagickCore/annotate.c:1463:23: note: in expansion of macro ?.t_encoding_gb231?
         encoding_type=ft_encoding_gb2312;
                       ^
/usr/include/freetype2/freetype/freetype.h:801:37: note: each undeclared identifier is reported only once for each function it appears in
#define ft_encoding_gb2312          FT_ENCODING_PRC
                                     ^
MagickCore/annotate.c:1463:23: note: in expansion of macro ?.t_encoding_gb231?
         encoding_type=ft_encoding_gb2312;
                       ^
make[1]: *** [MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-annotate.lo] Error 1
make[1]: Leaving directory `/data/lnmp1.5/src/ImageMagick-7.0.7-35'
make: *** [all] Error 2
make  all-am
make[1]: Entering directory `/data/lnmp1.5/src/ImageMagick-7.0.7-35'
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-annotate.lo
In file included from MagickCore/annotate.c:91:0:
MagickCore/annotate.c: In function ?.enderFreetype?.
/usr/include/freetype2/freetype/freetype.h:801:37: error: ?.T_ENCODING_PRC?.undeclared (first use in this function)
#define ft_encoding_gb2312          FT_ENCODING_PRC
                                     ^
MagickCore/annotate.c:1463:23: note: in expansion of macro ?.t_encoding_gb231?
         encoding_type=ft_encoding_gb2312;
                       ^
/usr/include/freetype2/freetype/freetype.h:801:37: note: each undeclared identifier is reported only once for each function it appears in
#define ft_encoding_gb2312          FT_ENCODING_PRC
                                     ^
MagickCore/annotate.c:1463:23: note: in expansion of macro ?.t_encoding_gb231?
         encoding_type=ft_encoding_gb2312;
                       ^
make[1]: *** [MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-annotate.lo] Error 1
make[1]: Leaving directory `/data/lnmp1.5/src/ImageMagick-7.0.7-35'
make: *** [all] Error 2
make  install-am
make[1]: Entering directory `/data/lnmp1.5/src/ImageMagick-7.0.7-35'
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-annotate.lo
In file included from MagickCore/annotate.c:91:0:
MagickCore/annotate.c: In function ?.enderFreetype?.
/usr/include/freetype2/freetype/freetype.h:801:37: error: ?.T_ENCODING_PRC?.undeclared (first use in this function)
#define ft_encoding_gb2312          FT_ENCODING_PRC
                                     ^
MagickCore/annotate.c:1463:23: note: in expansion of macro ?.t_encoding_gb231?
         encoding_type=ft_encoding_gb2312;
                       ^
/usr/include/freetype2/freetype/freetype.h:801:37: note: each undeclared identifier is reported only once for each function it appears in
#define ft_encoding_gb2312          FT_ENCODING_PRC
                                     ^
MagickCore/annotate.c:1463:23: note: in expansion of macro ?.t_encoding_gb231?
         encoding_type=ft_encoding_gb2312;
                       ^
make[1]: *** [MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-annotate.lo] Error 1
make[1]: Leaving directory `/data/lnmp1.5/src/ImageMagick-7.0.7-35'
make: *** [install] Error 2
imagick-3.4.3.tgz [found]
Uncompress imagick-3.4.3.tgz...
cd imagick-3.4.3...
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
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 whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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-20131226
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 for pkg-config... /bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/imagemagick/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/imagemagick/bin/Wand-config... Doesn't exist
checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/bin/Wand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/Wand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/Wand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/Wand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/Wand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
imagick install failed!

TOP

回复 4# 的帖子

军哥帮忙看下,是不是这些提示内容?

TOP

什么系统及版本?
修改include/version.sh 将imagemagick的版本替换为 7.0.8-14 后重新安装试试

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

回复 7# 的帖子

系统是centos7.6,改过版本,重启lnmp,安装,还是不行,最新版本号也试过了,不行

TOP

回复 8# 的帖子

不清楚原因,也没法复原出你的错误

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP