I have spent a bit of time on this problem and am more perplexed now than I was before starting. Ooops.

First I'll offer how I build MY version of ImageMagick at the momement. I may change this after further experimentation but this is at least more than what I am after:

PREFIX=/opt export CCFLAGS="-I$PREFIX/include/freetype2" export LDFLAGS="-L$PREFIX/lib" ./configure --prefix=$PREFIX \ --enable-shared \ --disable-static \ --with-modules \ --with-largefiles \ --with-magick-plus-plus \ --with-threads \ --enable-lzw=yes \ --without-fpx \ --with-perl=$PREFIX/bin/perl \ >logs/ImageMagick-config
After running all that I get a good build of the ImageMagick libraries and PerlMagick. Yaaah.

However, CPAN'ing the more recent version of PerlMagick leads me into the confusion. I am getting complaints about all sorts of unknown struct members and types during make.

Magick.xs: In function `SetAttribute':
Magick.xs:1392: structure has no member named `pen'
Magick.xs: In function `XS_Image__Magick_Mogrify':
Magick.xs:3693: `AffineMatrix' undeclared (first use in this function)
Magick.xs:3693: (Each undeclared identifier is reported only once
Magick.xs:3693: for each function it appears in.)
Magick.xs:3693: parse error before `affine'
Magick.xs:4351: structure has no member named `text'
Magick.xs:4363: structure has no member named `geometry'
...yadda yadda
Unfortunately I don't have heaps of time to figure out what has gone awry but when I do, you'll hear from me. :)

Jay


In reply to Re: Re: Image::Magick - one step forward, two back? by jlawrenc
in thread Image::Magick by dusk

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.