I installed ImageMagick on my dev machine (OS X) just fine, but I'm having some problems with Ubuntu Hardy. I'm using ImageMagick-6.4.7-10, and after decompressing I did:
./configure
make
make install
The results of ./configure were:
Code: Select all
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type: x86_64-unknown-linux-gnu
Build system type: x86_64-unknown-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes no
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (unknown)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes no
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes no
RSVG --with-rsvg=no no
TIFF --with-tiff=yes no
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.4.7
CC = gcc -std=gnu99
CFLAGS = -fopenmp -g -O2 -Wall -W -pthread
MAGICK_CFLAGS = -fopenmp -g -O2 -Wall -W -pthread
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS = -fopenmp
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/local/lib
LIBS = -lMagickCore -lz -lm -lgomp -lpthread
CXX = g++
CXXFLAGS = -g -O2 -Wall -W -pthread
Code: Select all
Live ~/ImageMagick-6.4.7-10: make install
make install-am
make[1]: Entering directory `/home/dave/ImageMagick-6.4.7-10'
cd PerlMagick && make CC='gcc -std=gnu99'
make[2]: Entering directory `/home/dave/ImageMagick-6.4.7-10/PerlMagick'
make[2]: Leaving directory `/home/dave/ImageMagick-6.4.7-10/PerlMagick'
make[2]: Entering directory `/home/dave/ImageMagick-6.4.7-10'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c 'magick/libMagickCore.la' '/usr/local/lib/libMagickCore.la'
/usr/bin/install: cannot remove `/usr/local/lib/libMagickCore.so.1.0.0': Permission denied
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c 'wand/libMagickWand.la' '/usr/local/lib/libMagickWand.la'
libtool: install: warning: relinking `wand/libMagickWand.la'
/usr/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `wand/libMagickWand.la' with the above command before installing it
/bin/bash ./libtool --silent --mode=install /usr/bin/install -c 'Magick++/lib/libMagick++.la' '/usr/local/lib/libMagick++.la'
libtool: install: warning: relinking `Magick++/lib/libMagick++.la'
/usr/bin/ld: cannot find -lMagickWand
collect2: ld returned 1 exit status
libtool: install: error: relink `Magick++/lib/libMagick++.la' with the above command before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/dave/ImageMagick-6.4.7-10'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/dave/ImageMagick-6.4.7-10'
make: *** [install] Error 2