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

Hi all, I have a bunch of servers running ActivePerl 5.14 and we make heavy use of PerlMagick aka Image::Magick. I need to upgrade to a newer Perl so that LWP can speak the newer SSL/TLS... It looks like no new ActivePerl releases support Image::Magick (nor XML::LibXML) -- or does anybody know otherwise? I am looking at Strawberry Perl, but I also cannot get Image::Magick to install there. Has anyone actually gotten Image::Magick to install/work on a modern Strawberry Perl? Thanks, R
  • Comment on running Image::Magick with Windows Perl in 2015?

Replies are listed 'Best First'.
Re: running Image::Magick with Windows Perl in 2015?
by tangent (Parson) on Jul 22, 2015 at 23:02 UTC
Re: running Image::Magick with Windows Perl in 2015?
by CountZero (Bishop) on Jul 23, 2015 at 09:50 UTC
    When trying to install Image::Magick I get the following message (I'm indeed using Strawberry Perl):
    ######################## # It seems that you are trying to install Perl::Magick on a MS Windows + box with # perl + gcc compiler (e.g. strawberry perl), however we cannot find I +mageMagick # binaries installed on your system. # # Please check the following prerequisites: # # 1) You need to have installed ImageMagick Windows binaries from # http://www.imagemagick.org/script/binary-releases.php#windows # # 2) We only support dynamic (DLL) ImageMagick binaries # note: it is not possible to mix 32/64-bit binaries of perl and Im +ageMagick # # 3) During installation select that you want to install ImageMagick's # development files (libraries+headers) # # 4) You also need to have ImageMagick's directory in your PATH # note: we are checking the presence of convert.exe and/or identify +.exe tools # # 5) You might need Visual C++ Redistributable Package installed on yo +ur system # see instructions on ImageMagick's Binary Release webpage # # We are gonna continue, but chances for successful build are very low +! ###################################################################### +##########
    Did you go through all these steps and it still wouldn't install?

    I'll try it myself if I find a little spare time and will perhaps report back later.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics
Re: running Image::Magick with Windows Perl in 2015?
by pm395080566 (Initiate) on Jul 25, 2015 at 01:13 UTC

    Hi friends,

    Thanks so much for your support.

    I eventually got it running. For the benefit of anyone with similar issues...

    I am using Win8.1 x64, with Strawberry Perl 5.22.0 x64 and ImageMagick 6.9.1-9 Q16 x64.

    Previously I've just used the "Install PerlMagick" checkbox during the ImageMagick install, but that did not work this time. Instead I installed ImageMagick checking only the boxes to "x Add application directory to your system path" and "x Install development headers...". Then I ran "cpan Image::Magick" to download/build/install directly from CPAN. This failed, but I could see it was just due to some tests failing, so I ran "cpan" to enter the shell and ran "notest install Image::Magick", which worked.

    My earlier efforts had failed in part because I was trying hard to get ActivePerl working, and I had rebooted between tries, and so my %PATH% wasn't clean. I ultimately uninstalled everything, rebooted, then installed Strawberry & ImageMagick, rebooted, then confirmed %PATH% in the System control panel, then starting using cpan.

    I also tried 'ppm' but that didn't work, and I saw online some people were suggesting a third-party repository bribes.org but I didn't want to go there.

Re: running Image::Magick with Windows Perl in 2015?
by locked_user sundialsvc4 (Abbot) on Jul 22, 2015 at 21:39 UTC

    Show us the results of what you tried.   Either with Active, or Strawberry, or both.   Put console output listings if you can (in code tags within readmore tags, of course), or nitty-gritty details of exactly what you attempted and exactly what the result was.   You’ve of course looked at this page from imagemagick.org ... done a Super Search to find things like Image::Magick on Windows! ...?   Details please.