I have been banging my head against this too long, and have decided to ask for help.

I am trying to install Image::Magick 6.02, which I downloaded from CPAN. First I downloaded, and installed, the Image Magick rpm from ImageMagick. I edited Makefile.pl to be sure that both INC and LIBS contained the paths to the appropriate shared objects, as the README.txt file advises. When I run perl Makefile.pl, I get "Note (probably harmless): No library found for -llcms", but as that says, this is "probably harmless". The trouble comes when I run make, I get litteraly thosands of errors from Magick.xs. Things such as:

Magick.xs:8900: error: `OptionError' undeclared (first use in this fun +ction) Magick.xs:8908: error: parse error before ')' token Magick.xs:8910: error: parse error before "exception" Magick.xs:8920: error: dereferencing pointer to incomplete type

I am doing this on RedHat Linux 8.0, with perl 5.6.1

If anyone can tell me what I am doing wrong, or how I can get this to work, I would greatly appreciate it.

May the Force be with you

In reply to Image::Magic installation problems by JediWizard

Title:
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, details, 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, summary, 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.