Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Image-Magick on Strawberry Perl

by aplonis (Pilgrim)
on Jan 26, 2015 at 23:32 UTC ( #1114571=perlquestion: print w/replies, xml ) Need Help??

aplonis has asked for the wisdom of the Perl Monks concerning the following question:

Tried to install Image-Magick via PPM on Strawberry Perl. Got error message saying...

Error installing package 'Image-Magick': Read a PPD for 'Image-Magick', but it is not intended for this build of Perl.

...and in parentheses it tells me which build I have. It does not tell me the build for which the PPD is intended so that I may instead install that (presumably older) version of Strawberry Perl.

Any ready solutions?

Replies are listed 'Best First'.
Re: Image-Magick on Strawberry Perl
by syphilis (Bishop) on Jan 27, 2015 at 02:28 UTC
    It does not tell me the build for which the PPD is intended

    What was the actual command that you ran ?
    The information you seek would be contained within the PPD file that was read.
    Just download Image-Magick.ppd, and look at the "ARCHITECTURE NAME" entries therein.
    Each "ARCHITECTURE NAME" entry will specify a supported build of perl.


      Where might I download this from and know that it is for Strawberry Perl? I found one here...

      ...but IIRC is a source for ActiveState Perl modules, is it not? Anyhow, I'll try out Strawberry Perl 5.16 and see how that goes.

        ...but IIRC is a source for ActiveState Perl modules

        No - the Bribes' PPM packages should also work fine with *any* Windows build of perl that has the same $Config{archname} and version as specified in the PPD file (which you can grab at btw).

        SOLVED! Image-Magick installed via PPM for Strawberry Perl 5.16. So did Tk and GD-Graph.
Re: Image-Magick on Strawberry Perl
by Anonymous Monk on Jan 27, 2015 at 00:27 UTC

    Have you tried doing it via cpan? I think this is the more common method on Strawberry Perl, and although the compilation stage can apparently be a bit tricky, Google shows a whole lot of workarounds for potential issues.

      Yes, I tried cpan. But on cpan I get a different and more alarming failure. A pop-up complains "ld.exe has stopped working" and when that is acknowledged then cpan complains as below...

      ld returned 255 exit status

      dmake.exe: Error code 128, while making 'blib\arch\auto\Image\Magick\Magick.xs.dll'

Re: Image-Magick on Strawberry Perl
by Anonymous Monk on Jan 27, 2015 at 00:41 UTC
      cpanm JCRISTY/PerlMagick-6.89-1.tar.gz

      ...resulted in the same error as when running the PPM. Something called ld stops working, and then the session ends.

      I was in Strawberry's own PPM, and ran "install Perl-Magick"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1114571]
Approved by Old_Gray_Bear
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2020-01-19 22:50 GMT
Find Nodes?
    Voting Booth?