ImageMagick (Redhat9)설치방법 문의
gd를 쓰다가 아무래도 이미지에 포토샵같은 이미지 처리가 필요한거 같아 위 라이브러리를 설치하려고 하는데 늘 그렇듯 애로가 많군요. 일단 옵션은 다음과 같습니다.
./configure --prefix=/usr/local/GraphicsMagick-1.0.5 --enable-lzw --with-perl=/usr/bin/perl5.8.0 --enable-shared \
--with-png=/usr/local/libpng-1.2.5 --with-jpeg=/usr/local/libjpeg-6b --with-ttf=/usr/local/freetype-2.1.5/lib \
--with-zlib=/usr/local/zlib-1.2.1 --with-gslib=/usr/local/ghostscript-8.14/share/ghostscript/8.14/lib --with-gs-font-dir=/usr/local/ghostscript-8.14/share/ghostscript/fonts
결과입니다.
Option Configure option Configured value
-----------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
GNU ld --with-gnu-ld=yes yes
LZW support --enable-lzw=yes yes
Quantum depth --with-quantum-depth=8 8
Delegate Configuration:
BZLIB --with-bzlib=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FreeType 2.0 --with-ttf=/usr/local/freetype-2.1.5/lib no
Ghostscript None /usr/bin/gs (7.05)
Ghostscript fonts --with-gs-font-dir=/usr/local/ghostscript-8.14/share/ghostscript/fonts /usr/local/ghostscript-8.14/share/ghostscript/fonts/
Ghostscript lib --with-gslib=/usr/local/ghostscript-8.14/share/ghostscript/8.14/lib no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=/usr/local/libjpeg-6b no
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
Magick++ --with-magick-plus-plus=yes yes
PERL --with-perl=/usr/bin/perl5.8.0 /usr/bin/perl5.8.0
PNG --with-png=/usr/local/libpng-1.2.5 no
TIFF --with-tiff=yes no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=yes yes
ZLIB --with-zlib=/usr/local/zlib-1.2.1 yes
중요한건 아무리 옵션을 줘도 jpeg, FreeType, png, Ghostscript 등을 인식하지 못한다는 건데요, 따라서 컴파일 후에도 테스트 해보면 위 라이브러리들을 못찾는다는 에러를 내네요. 검색을 해봐도 다들 패키지로 설치하는지 시원한 대답은 없네요. 설치에 성공하신 분들의 조언 부탁 드립니다.
댓글 달기