Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I have a redhat box that won't install Image::Magick with (amongst others) JPEG support. I can't make ./configure see the JPEG libraries.

I have these jpeg libraries. Which appear to have installed very nicely here:

find / -name "libjpeg*" -print /usr/lib/ /usr/lib/ /usr/share/doc/libjpeg-6b

I have run ldconfig (and added /usr/lib to /etc/ - which resulted in a duplicate warning).

And yet, still when I run ./configure, I get this:

ImageMagick is configured as follows. Please verify that this configur +ation 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

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...!)

-=( Graq )=-

In reply to [OT?] Installing (configuring) Image::Magick by graq

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (7)
    As of 2017-11-23 23:25 GMT
    Find Nodes?
      Voting Booth?
      In order to be able to say "I know Perl", you must have:

      Results (343 votes). Check out past polls.