I've been struggling to update to the most recent version of ImageMagick on my redhat linux dedicated server. I am not a linux pro or an IM pro, but I've got it somewhat working, however I think it requires some further tweaking.
The x86_64 rpm won't work, it's missing a few dependencies, judging by previous forum posts, in this case it seems best to compile one from source. After attempting to get all dependencies working and IM installed, I'm starting to see better results. Here is what convert -list configure shows:
Code: Select all
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE ./configure
COPYRIGHT Copyright (C) 1999-2010 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib fontconfig freetype jpeg jng jp2 lcms png rsvg x11 xml wmf zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath=
EXEC-PREFIX /usr/local
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/usr/local/lib
LIB_VERSION 0x661
LIB_VERSION_NUMBER 6,6,1,1
LIBS -lMagickCore -llcms -lfreetype -ljasper -ljpeg -lpng -lfontconfig -lwmf -lwmflite -lXext -lSM -lICE -lX11 -lbz2 -L/lib64 -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2010-04-08
VERSION 6.6.1
WEBSITE http://www.imagemagick.org
I've got ghostscript 8.71 installed and running, but it doesn't seem to found by IM. Am I correct? If so, how might I fix this?
Also, using PHP exec I've had to change exec("config") to exec("/usr/local/bin/config") to check version. After updating this in my PHP scripts, it appears to that not all functionality is working with the IM I built from the source. How would I go about fixing the location of config and what other dependencies do I need to get running?
Thanks for any help!