I've been asked to load Image::Magick on our AIX system. Current perl version is 5.00503. (Yes, an upgrade is slated Real Soon Now.) We're using the AIX 'c' compiler. CPAN is giving me the lots of errors (listed below the readmore) We have used CPAN sucessfully before, though not on such a complex module. Thanks in advance if you can help!

Dave
cc -c -I../ -I.. -I/usr/include/freetype2 -I/usr/include/freety +pe2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/X11 - +D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 -O -D +VERSION=\"5.39\" -DXS_VERSION=\"5.39\" -I/usr/local/lib/perl5/5.005 +03/aix/CORE -DHAVE_CONFIG_H Magick.c "Magick.xs", line 76.10: 1506-296 (S) #include file <magick/api.h> not + found. "Magick.xs", line 130.3: 1506-046 (S) Syntax error. "Magick.xs", line 135.1: 1506-278 (S) The structure definition must sp +ecify a member list. "Magick.xs", line 151.3: 1506-046 (S) Syntax error. "Magick.xs", line 434.8: 1506-166 (S) Definition of function Image req +uires parentheses. "Magick.xs", line 435.3: 1506-276 (S) Syntax error: possible missing ' +{'? "Magick.xs", line 473.8: 1506-045 (S) Undeclared identifier info. "Magick.xs", line 476.58: 1506-046 (S) Syntax error. "Magick.xs", line 477.67: 1506-046 (S) Syntax error. "Magick.xs", line 521.15: 1506-045 (S) Undeclared identifier BlobError +. "Magick.xs", line 523.15: 1506-045 (S) Undeclared identifier BlobWarni +ng. "Magick.xs", line 529.15: 1506-045 (S) Undeclared identifier CacheErro +r. "Magick.xs", line 531.15: 1506-045 (S) Undeclared identifier CacheWarn +ing. "Magick.xs", line 533.15: 1506-045 (S) Undeclared identifier CorruptIm +ageError. "Magick.xs", line 535.15: 1506-045 (S) Undeclared identifier CorruptIm +ageWarning. "Magick.xs", line 541.15: 1506-045 (S) Undeclared identifier DelegateE +rror. "Magick.xs", line 543.15: 1506-045 (S) Undeclared identifier DelegateW +arning. "Magick.xs", line 549.15: 1506-045 (S) Undeclared identifier FatalExce +ption. "Magick.xs", line 551.15: 1506-045 (S) Undeclared identifier FileOpenE +rror. "Magick.xs", line 553.15: 1506-045 (S) Undeclared identifier FileOpenW +arning. "Magick.xs", line 559.15: 1506-045 (S) Undeclared identifier MaxRGB. "Magick.xs", line 561.15: 1506-045 (S) Undeclared identifier MissingDe +legateError. "Magick.xs", line 563.15: 1506-045 (S) Undeclared identifier MissingDe +legateWarning. "Magick.xs", line 571.15: 1506-045 (S) Undeclared identifier OpaqueOpa +city. "Magick.xs", line 573.15: 1506-045 (S) Undeclared identifier OptionErr +or. "Magick.xs", line 575.15: 1506-045 (S) Undeclared identifier OptionWar +ning. "Magick.xs", line 587.15: 1506-045 (S) Undeclared identifier ResourceL +imitError. "Magick.xs", line 589.15: 1506-045 (S) Undeclared identifier ResourceL +imitWarning. "Magick.xs", line 595.15: 1506-045 (S) Undeclared identifier StreamErr +or. "Magick.xs", line 597.15: 1506-045 (S) Undeclared identifier StreamWar +ning. "Magick.xs", line 605.15: 1506-045 (S) Undeclared identifier Transpare +ntOpacity. "Magick.xs", line 611.15: 1506-045 (S) Undeclared identifier XServerEr +ror. "Magick.xs", line 613.15: 1506-045 (S) Undeclared identifier XServerWa +rning. "Magick.xs", line 683.46: 1506-275 (S) Unexpected text error encounter +ed. "Magick.xs", line 687.10: 1506-045 (S) Undeclared identifier MaxTextEx +tent. "Magick.xs", line 694.65: 1506-045 (S) Undeclared identifier error. "Magick.xs", line 743.8: 1506-166 (S) Definition of function Image req +uires parentheses. "Magick.xs", line 743.14: 1506-276 (S) Syntax error: possible missing +'{'? "Magick.xs", line 746.3: 1506-045 (S) Undeclared identifier Image. "Magick.xs", line 747.6: 1506-045 (S) Undeclared identifier image. "Magick.xs", line 749.8: 1506-045 (S) Undeclared identifier reference. "Magick.xs", line 759.10: 1506-045 (S) Undeclared identifier head. "Magick.xs", line 760.10: 1506-045 (S) Undeclared identifier previous. "Magick.xs", line 762.7: 1506-275 (S) Unexpected text 'int' encountere +d. "Magick.xs", line 763.9: 1506-045 (S) Undeclared identifier n. "Magick.xs", line 765.7: 1506-046 (S) Syntax error.

In reply to Problems installing Image::Magick on AIX 4.3.2 by dthacker

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.