**Note: I don't care or want the perl component anymore. I just want a working version of ImageMagick (namely with support for JPEG and PNG)
Before deciding to install Perl-Magick (from source), I had version 6.7.7 of ImageMagick and it worked great.
I pretty much followed the instructions here to install Perl-Magick.
http://www.imagemagick.org/script/perl-magick.php
Code: Select all
tar xczf ImageMagick.tar.gz
./configure -with-perl
make
sudo make install
So for whatever reason I thought moving to the imagemagick directory and trying again might fix it.
Code: Select all
cd ImageMagick-6.8.9-5
./configure -with-perl
make
sudo make install
Code: Select all
mv ImageMagick-6.8.9-5 /usr/share
sudo su
perl -e "use Image::Magick; print Image::Magick->QuantumDepth"
Code: Select all
sudo ldconfig usr/local/lib
./configure -with-perl
sudo make install
cd PerlMagick
Tried a bunch of ways to get rid of it so I could reinstall it clean.
Code: Select all
sudo apt-get install --reinstall imagemagick
sudo apt-get remove imagemagick
rm -rf ImageMagick-6.8.9-5
sudo apt-get install --reinstall imagemagick
sudo ldconfig usr/local/lib
sudo apt-get --purge remove imagemagick
sudo apt-get install imagemagick
sudo apt-get --purge remove imagemagick
sudo apt-get install imagemagick
sudo apt-get install --reinstall imagemagick
Code: Select all
tar xczf ImageMagick.tar.gz
./configure -with-perl
sudo make uninstall
Code: Select all
sudo make install
sudo apt-get install libperl-dev
sudo make install
Code: Select all
tar xvfz libpng-1.6.12.tar.gz
Code: Select all
Jul 2 15:34 ImageMagick-6.8.9
Jul 2 15:34 libMagickCore-6.Q16.a
Jul 2 15:34 libMagickCore-6.Q16.la
Jul 2 15:34 libMagickCore-6.Q16.so -> libMagickCore-6.Q16.so.2.0.0
Jul 2 15:34 libMagickCore-6.Q16.so.2 -> libMagickCore-6.Q16.so.2.0.0
Jul 2 15:34 libMagickCore-6.Q16.so.2.0.0
Jul 2 15:34 libMagickWand-6.Q16.a
Jul 2 15:34 libMagickWand-6.Q16.la
Jul 2 15:34 libMagickWand-6.Q16.so -> libMagickWand-6.Q16.so.2.0.0
Jul 2 15:34 libMagickWand-6.Q16.so.2 -> libMagickWand-6.Q16.so.2.0.0
Jul 2 15:34 libMagickWand-6.Q16.so.2.0.0
Jul 2 15:34 perl
Jul 2 15:34 pkgconfig
Also, I did a dpkg --list | less and found this:
Code: Select all
ii imagemagick 8:6.7.7.10-5ubuntu3.1
ii imagemagick-common 8:6.7.7.10-5ubuntu3.1
One more bit of information. I took a look at usr/local/lib/ImageMagick-6.8.9/config-Q16/configure.xml and am missing the the png delegate. Tried configuring it with ./configure --with-png=yes. Still nothing.
Okay. I think that's everything.
EDIT: Here's the results of the config run
Code: Select all
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=no no
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Install documentation: yes
Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
Dejavu fonts --with-dejavu-font-dir=default none
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes no
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (9.10)
Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/type1/gsfonts/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes no
JPEG-2000 --with-jp2=
LCMS v1 --with-lcms=yes no
LCMS v2 --with-lcms2=yes no
LQR --with-lqr=yes no
LTDL --with-ltdl=yes no
LZMA --with-lzma=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
OpenEXR --with-openexr=yes no
OpenJP2 --with-openjp2=yes no
PANGO --with-pango=yes no
PERL --with-perl=no no
PNG --with-png=yes no
RSVG --with-rsvg=no no
TIFF --with-tiff=yes no
WEBP --with-webp=yes no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=no no
X11 --with-x= yes
XML --with-xml=yes no
ZLIB --with-zlib=yes no
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.8.9
CC = gcc -std=gnu99 -std=gnu99
CFLAGS = -fopenmp -g -O2 -Wall -march=corei7-avx -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
LIBS =
CXX = g++
CXXFLAGS = -pthread
FEATURES = DPC OpenMP
DELEGATES = mpeg ps x