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

Hello,

Has anyone tried using the bribes.org version of Image-Magick 6.5.7 to work? The one installed this way:
ppm install http://www.bribes.org/perl/ppm/Image-Magick.ppd
I need to use this version so I can make a standalone executable using pp (PAR packager).

Here's a script merely to use the Image Magick module:

use Image::Magick
When I run it, I get this:
C:\>test.pl
Can't load 'C:/Perl/site/lib/auto/Image/Magick/Magick.dll' for module Image::Magick: load_file:Recursion too deep; the stack overflowed at C:/Perl/lib/DynaLoader.pm line 201. at C:\Documents and Settings\Administrator\Desktop\test.pl line 1

I know a previous bribes Image-Magick worked (5.7 I believe) but this one does not work for me.

Thanks in advance for any help!

-Dominic

Replies are listed 'Best First'.
Re: Can't get bribes.org version of Image-Magick to work
by Anonymous Monk on May 31, 2010 at 06:19 UTC

      I've tried using the installations from the ImageMagick website. The problem with those is PAR-Packer (pp) cannot create executables to access ImageMagick correctly. I keep getting NoDecodeDelegateForThisImageFormat errors. I believe it's because the Imagemagick.org installations require settings within the Windows registry to access these decoder DLLs. And pp does not handle registry settings when it packs the exe file

      The ImageMagick on bribes.org don't require the registry settings to be there.

      Has anyone out there gotten the bribes.org version to work, even just to execute IM functions in a regular perl script, that is not in a pp executable?

        I've tried using the installations from the ImageMagick website. The problem with those is PAR-Packer (pp) cannot create executables to access ImageMagick correctly. I keep getting NoDecodeDelegateForThisImageFormat errors. I believe it's because the Imagemagick.org installations require settings within the Windows registry to access these decoder DLLs. And pp does not handle registry settings when it packs the exe file The ImageMagick on bribes.org don't require the registry settings to be there.

        Nope, all wrong. PAR/pp cannot detect all the prerequisites, so it doesn't pack them all. This is easily tested by overriding %PATH% and attempting to run pp generated .exe. If some dlls aren't packed, you'll get an error message, so you go back and add those.

        Has anyone out there gotten the bribes.org version to work, even just to execute IM functions in a regular perl script, that is not in a pp executable?

        Bribes did not pack all the prerequisites. You can get his ppm to work by installing a compatible (same version bribes uses) binary from http://www.imagemagick.org/ and making sure to add it to your path (the installer does this through the registry).

Re: Can't get bribes.org version of Image-Magick to work
by Anonymous Monk on May 31, 2010 at 06:14 UTC
    Which perl version?
      I'm using ActivePerl 5.10.1. Also, I'm running on Windows XP.