无法在CentOS 7上安装ImageMagick [magick / magick_libMagickCore_6_Q16_la-distribute-cache.lo]

时间:2014-12-29 15:23:57

标签: centos imagemagick

我在CentOS 7服务器上安装ImageMagick时遇到了一些问题。

以下是我使用的命令:

./configure --without-threads

一切看起来都不错。

                  Option                        Value
-------------------------------------------------------------------------------
Shared libraries  --enable-shared=yesyes
Static libraries  --enable-static=yesyes
Module support    --with-modules=nono
GNU ld            --with-gnu-ld=yesyes
Quantum depth     --with-quantum-depth=1616
High Dynamic Range Imagery
                  --enable-hdri=nono

Install documentation:yes

Delegate Library Configuration:
BZLIB             --with-bzlib=yesyes
Autotrace         --with-autotrace=nono
DJVU              --with-djvu=yesyes
DPS               --with-dps=yesno
FFTW              --with-fftw=yesno
FlashPIX          --with-fpx=yesno
FontConfig        --with-fontconfig=yesyes
FreeType          --with-freetype=yesyes
Ghostscript lib   --with-gslib=nono
Graphviz          --with-gvc=no
JBIG              --with-jbig=yesno
JPEG v1           --with-jpeg=yesyes
JPEG-2000         --with-jp2=
LCMS v1           --with-lcms=yesno
LCMS v2           --with-lcms2=yesno
LQR               --with-lqr=yesno
LTDL              --with-ltdl=yesno
LZMA              --with-lzma=yesyes
Magick++          --with-magick-plus-plus=yesno (failed tests)
OpenEXR           --with-openexr=yesyes
OpenJP2           --with-openjp2=yesno
PANGO             --with-pango=yesyes
PERL              --with-perl=nono
PNG               --with-png=yesyes
RSVG              --with-rsvg=nono
TIFF              --with-tiff=yesyes
WEBP              --with-webp=yesno
WMF               --with-wmf=nono
X11               --with-x=yes
XML               --with-xml=yesyes
ZLIB              --with-zlib=yesyes

Delegate Program Configuration:
GhostPCL          Nonepcl6 (unknown)
GhostXPS          Nonegxps (unknown)
Ghostscript       Nonegs (9.07)

Font Configuration:
Apple fonts       --with-apple-font-dir=defaultnone
Dejavu fonts      --with-dejavu-font-dir=defaultnone
Ghostscript fonts --with-gs-font-dir=default/usr/share/fonts/default/Type1/
Windows fonts     --with-windows-font-dir=defaultnone

X11 Configuration:
      X_CFLAGS        = 
      X_PRE_LIBS      = -lSM -lICE
      X_LIBS          = 
      X_EXTRA_LIBS    = 

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 6.9.0
  CC              = gcc -std=gnu99 -std=gnu99
  CFLAGS          = -pthread -I/usr/include/OpenEXR -I/usr/include/libdrm -I/usr/include/freetype2 -g -O2 -Wall -march=corei7-avx -fexceptions -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
  CPPFLAGS        = -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/freetype2 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/libxml2
  PCFLAGS         = 
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = 
  LIBS            = 
  CXX             = g++
  CXXFLAGS        = 
  FEATURES        = DPC
  DELEGATES       = bzlib djvu mpeg fontconfig freetype jng jpeg lzma openexr pango png ps tiff x xml zlib

然后我这样做:

make -j16

我明白了:

magick/distribute-cache.c:751:28: warning: 'DistributePixelCacheClient' defined but not used [-Wunused-function]
 static HANDLER_RETURN_TYPE DistributePixelCacheClient(void *socket)
                            ^
make[1]: *** [magick/magick_libMagickCore_6_Q16_la-distribute-cache.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from magick/magick.c:72:0:
./magick/semaphore-private.h:36:3: warning: 'semaphore_mutex' defined but not used [-Wunused-variable]
   semaphore_mutex = 0;
   ^
make[1]: Leaving directory `/usr/local/src/ImageMagick-6.9.0-2'
make: *** [all] Error 2

我做错了什么?我错过了什么?

0 个答案:

没有答案