<?xml version="1.0" encoding="windows-1252"?>
<node id="704511" title="[OT?] Installing (configuring) Image::Magick" created="2008-08-15 06:14:57" updated="2008-08-15 02:14:57">
<type id="115">
perlquestion</type>
<author id="79379">
graq</author>
<data>
<field name="doctext">
&lt;p&gt;
I have a redhat box that won't install Image::Magick with (amongst others) JPEG support. I can't make &lt;c&gt;./configure&lt;/c&gt; see the JPEG libraries.
&lt;/p&gt;
&lt;readmore&gt;
&lt;p&gt;I have &lt;a href="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz"&gt;these jpeg libraries&lt;/a&gt;. Which appear to have installed very nicely here:
&lt;/p&gt;
&lt;code&gt;
find / -name "libjpeg*" -print
/usr/lib/libjpeg.so.62.0.0
/usr/lib/libjpeg.so.62
/usr/share/doc/libjpeg-6b
&lt;/code&gt;

&lt;p&gt;I have run ldconfig (and added /usr/lib to &lt;c&gt;/etc/ld.co.conf&lt;/c&gt; - which resulted in a duplicate warning).
&lt;/p&gt;

&lt;p&gt;And yet, still when I run &lt;c&gt;./configure&lt;/c&gt;, I get this:&lt;/p&gt;
&lt;code&gt;
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: i686-pc-linux-gnu
Build system type: i686-pc-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 (7.07)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib   --with-gslib=yes              no (failed tests)
Graphviz          --with-gvc=yes                no
JBIG              --with-jbig=          no
JPEG v1           --with-jpeg=yes               no
JPEG-2000         --with-jp2=yes                no
LCMS              --with-lcms=yes               no
LQR               --with-lqr=no         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
result_windows_font_dir='none'
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.2
  CC              = gcc
  CFLAGS          = -g -O2 -Wall -W -pthread
  MAGICK_CFLAGS   = -g -O2 -Wall -W -pthread
  CPPFLAGS        = -I/usr/local/include/ImageMagick
  PCFLAGS         = 
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = -L/usr/lib
  MAGICK_LDFLAGS  = -L/usr/local/lib -L/usr/lib
  LIBS            = -lMagickCore -lz -lm -lpthread 
  CXX             = g++
  CXXFLAGS        = -g -O2 -Wall -W -pthread
&lt;/code&gt;
&lt;/readmore&gt;

&lt;p&gt;All suggestions for ways in which to make Image::Magick see my image libraries would really great (JPEG would do for now, but PNG, TIFF e.t.c would be awesome long term...!)&lt;/p&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-79379"&gt;

&lt;p&gt;-=( &lt;a href="http://www.graq.co.uk"&gt;Graq&lt;/a&gt; )=-&lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;</field>
</data>
</node>
