Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-03-28 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found