Hmmm ... disappointingly, it seems that these dll builds of ImageMagick make use of the Windows registry to locate the coder dlls.
That quickly kills any enthusiasm I might have had for creating ppm packages. (Just makes me want to vomit, actually.)

I see that Jean-Louis' Bribes repo provides builds (perl-5.16.x and earlier only) that don't rely on the registry. He has simply placed the coder dlls in the blib/auto/Image/Magick folder - which apparently works for him ... but doesn't work for me.
Does anyone know how he gets that to work ?

Update: Just for the record, building Image::Magick for Strawberry Perl seems to be not too difficult.
Having downloaded and installed http://www.imagemagick.org/download/binaries/ImageMagick-6.9.2-5-Q8-x64-dll.exe into C:\_64\im (making sure to tick the box that would install headers and libraries) I cd'd to \_64\im\ImageMagick-6.9.2-Q\lib and ran:
gendef ../CORE_RL_magick_.dll * [../CORE_RL_magick_.dll] Found PE+ ima +ge gendef ../CORE_RL_magick++_.dll * [../CORE_RL_magick++_.dll] Found PE+ + image gendef ../CORE_RL_wand_.dll * [../CORE_RL_wand_.dll] Found PE+ image dlltool --kill-at --input-def CORE_RL_magick_.def --output-lib libCORE +_RL_magick_.a dlltool --kill-at --input-def CORE_RL_magick++_.def --output-lib libCO +RE_RL_magick++_.a dlltool --kill-at --input-def CORE_RL_wand_.def --output-lib libCORE_R +L_wand_.a dlltool --kill-at --input-def CORE_RL_magick_.def --output-lib libMagi +ckCore.a
It's quite likely that only the first and last of those 7 commands actually needed to be run.
Following that, I ran:
set PATH=%PATH%;C:\_64\im\ImageMagick-6.9.2-Q8 set CPATH=C:\_64\im\ImageMagick-6.9.2-Q8\include;%CPATH% set LIBRARY_PATH=C:\_64\im\ImageMagick-6.9.2-Q8\lib;%LIBRARY_PATH%
Then cd to the top level folder of the PerlMagick-6.98 source and run 'perl Makefile.PL', 'dmake test' and 'dmake install'.
The only test that failed was t/wmf/read.t.

Cheers,
Rob

In reply to Re^8: Image-Magick on Strawberry Perl by syphilis
in thread Image-Magick on Strawberry Perl by aplonis

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.