boris11201217 发表于 2018-12-24 11:43:50

ImageMagick-7.0.5-7 安装失败

系统:centos7.5 64bit



# make
makeall-am
make: Entering directory `/opt/software/lnmp1.4-full/src/ImageMagick-7.0.5-7'
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:90:0:
MagickCore/annotate.c: In function ‘RenderFreetype’:
/usr/include/freetype2/freetype/freetype.h:801:37: error: ‘FT_ENCODING_PRC’ undeclared (first use in this function)
#define ft_encoding_gb2312          FT_ENCODING_PRC
                                     ^
MagickCore/annotate.c:1412:23: note: in expansion of macro ‘ft_encoding_gb2312’
         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:1412:23: note: in expansion of macro ‘ft_encoding_gb2312’
         encoding_type=ft_encoding_gb2312;
                     ^
make: *** Error 1
make: Leaving directory `/opt/software/lnmp1.4-full/src/ImageMagick-7.0.5-7'
make: *** Error 2

licess 发表于 2018-12-24 16:15:44

下载新版的imagemagic试试
页: [1]
查看完整版本: ImageMagick-7.0.5-7 安装失败