PerlMagick (Image::Magick) Installation
PerlMagick (Image::Magick) Installation
am 18.05.2009 14:22:49 von fzarabozo
Hello All,
I'm using ActiveState Perl 5.10 and 5.8 in two different computers. I'm
trying to install the PerlMagick distribution which installs Perl::Magick on
Perl. My OS is WinXP SP3.
I'm having no success at all.
I've been trying to test different ways to make the PPD file at
www.bribes.org/perl/ppm work, including the installation of different
distributions of ImageMagick from www.imagemagick.org and CPAN, and I
haven't been able either to build it from source using VBS 8 SDK nor using
the mentioned PPD.
When using this last one, the package gets installed with no errors, but
when I try to use it from Perl (both 5.10 and 5.8) I get a compilation time
error that includes some strings in spanish, my local language, which I'm
translating bellow:
***********************************
Can't load 'D:/usr/site/lib/auto/Image/Magick/Magick.dll' for module
Image::Magick: load_file:Recursion too deep; stack overflow at
D:/usr/lib/DynaLoader.pm line 202.
***********************************
I don't know what else to try. Has anyone here been able to use
Image::Magick over windows, possible with Perl 5.8 or Perl 5.10? If so,
please help me.
Any advice or comment will be highly appreciated.
Thanks in advance,
Francisco Zarabozo
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: PerlMagick (Image::Magick) Installation
am 18.05.2009 18:56:51 von Gaurav Vaidya
Hi Francisco,
On May 18, 2009, at 8:22 PM, Francisco Zarabozo wrote:.
> When using this last one, the package gets installed with no errors,
> but
> when I try to use it from Perl (both 5.10 and 5.8) I get a
> compilation time
> error that includes some strings in spanish, my local language,
> which I'm
> translating bellow:
>
> ***********************************
> Can't load 'D:/usr/site/lib/auto/Image/Magick/Magick.dll' for module
> Image::Magick: load_file:Recursion too deep; stack overflow at
> D:/usr/lib/DynaLoader.pm line 202.
> ***********************************
I've been having problems building this module recently, too. I'm
pretty sure it used to work with Strawberry Perl 5.10 using 'ppm' no
more than a few of months ago. ImageMagick 6.5.0-5 was released on Mar
22, so if you haven't already, you could try downloading an older
version of the software and try installing the PPD from that.
Hopefully one of the other Windows geeks here can figure out the
"Recursion too deep" error :-).
Btw, I'd love to see a consistent, well-tested, well *documented* way
of getting Image::Magick to work on Windows - it's such a useful and
powerful library! - so *when* you manage to get it working, could you
please document how you did it on the Perl Win32 wiki? Maybe at http://win32.perl.org/wiki/index.php?title=PerlMagick
? I'll do the same if I get to the solution first.
cheers,
Gaurav
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: PerlMagick (Image::Magick) Installation
am 18.05.2009 20:05:25 von Serguei Trouchelle
Hi,
Francisco Zarabozo wrote:
> I'm using ActiveState Perl 5.10 and 5.8 in two different computers. I'm
> trying to install the PerlMagick distribution which installs Perl::Magick on
> Perl. My OS is WinXP SP3.
>
> I'm having no success at all.
[...]
If you have ActivePerl 5.10, latest version of ImageMagick installer would install ppm for you, if you choose it during
installation. If it fails for some reason, you can find ppd distributive in PerlMagick directory of your ImageMagick
installation, and run "ppm install Image-Magick.ppd" from there.
For ActivePerl 5.8, this way (obviously) doesn't work, but you can try ppm install
http://trouchelle.com/ppm/Image-Magick.ppd. It requires already installed ImageMagick.
Let me know if it is not working for you.
> distributions of ImageMagick from www.imagemagick.org and CPAN, and I
> haven't been able either to build it from source using VBS 8 SDK nor using
> the mentioned PPD.
It builds without problems with MSVC6 SP5. I've compiled several versions to work with 5.8 since ImageMagick guys
dropped 5.8 ppd in favor of 5.10, and all of them worked just fine.
--
Serguei Trouchelle
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: PerlMagick (Image::Magick) Installation
am 18.05.2009 20:12:53 von Lyndon Rickards
> Hello All,
>
> I'm using ActiveState Perl 5.10 and 5.8 in two different computers. I'm
> trying to install the PerlMagick distribution which installs Perl::Magick on
> Perl. My OS is WinXP SP3.
>
> I'm having no success at all.
>
> I've been trying to test different ways to make the PPD file at
> www.bribes.org/perl/ppm work, including the installation of different
> distributions of ImageMagick from www.imagemagick.org and CPAN, and I
> haven't been able either to build it from source using VBS 8 SDK nor using
> the mentioned PPD.
>
> When using this last one, the package gets installed with no errors, but
> when I try to use it from Perl (both 5.10 and 5.8) I get a compilation time
> error that includes some strings in spanish, my local language, which I'm
> translating bellow:
>
> ***********************************
> Can't load 'D:/usr/site/lib/auto/Image/Magick/Magick.dll' for module
> Image::Magick: load_file:Recursion too deep; stack overflow at
> D:/usr/lib/DynaLoader.pm line 202.
> ***********************************
>
> I don't know what else to try. Has anyone here been able to use
> Image::Magick over windows, possible with Perl 5.8 or Perl 5.10? If so,
> please help me.
>
> Any advice or comment will be highly appreciated.
>
> Thanks in advance,
>
> Francisco Zarabozo
>
I too had this problem a while back and never got to a root cause before
I got to a working solution. There seems to be some reliance on ImageMagic DLL
that is not satisfied by the PPM package.
Now I simply install the full ImageMagick and check the option to install
PerlMagick...this performs a ppm download/install making perlmagick fully functional.
I use this method widely with perl 5.8, cannot vouch with 5.10.
HTH - Lynn.
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: PerlMagick (Image::Magick) Installation
am 19.05.2009 14:02:36 von fzarabozo
Hello Serguei, Lyndon, Guarav,
Thank you very much to all for your answers. I didn't find a solution
directly from a single answer, but all together helped me getting resolved
the problem. I'll document it as soon as I have time and let you know about
it. Now, just some comments to your answers:
--------------------------------------------------
From: "Serguei Trouchelle"
Sent: Monday, May 18, 2009 1:05 PM
Subject: Re: PerlMagick (Image::Magick) Installation
> If you have ActivePerl 5.10, latest version of ImageMagick installer would
> install ppm for you, if you choose it during
> installation. If it fails for some reason, you can find ppd distributive
> in PerlMagick directory of your ImageMagick
> installation, and run "ppm install Image-Magick.ppd" from there.
>
> For ActivePerl 5.8, this way (obviously) doesn't work, but you can try ppm
> install
> http://trouchelle.com/ppm/Image-Magick.ppd. It requires already installed
> ImageMagick.
> Let me know if it is not working for you.
Thanks a lot for answering this Serguei, I really appreciate it. As you will
read in my following comment, the Perl Magick installer wasn't giving me the
option because it wasn't detecting Perl on my system. Also, for some reason,
the PPD file wasn't working with ppm, telling me that the PPD file wasn't
made for my plattform. Using your PPD, I got it installed on Perl 5.8, but
Image::Magick was complaining about not finding a core dll in my ImageMagick
installation, but it was there. I'll document how I resolved this as soon as
I can. Thanks again Serguei.
--------------------------------------------------
From: "Lyndon Rickards"
Sent: Monday, May 18, 2009 1:12 PM
Subject: Re: PerlMagick (Image::Magick) Installation
> Now I simply install the full ImageMagick and check the option to install
> PerlMagick...this performs a ppm download/install making perlmagick fully
> functional.
A main problem for me with this, is that my Perl installation is not from
the original installer. It was some time ago, but after some system
restores, I started keeping the perl folder as a standalone resource in a
repository and checking it out whenever I needed to have Perl on a computer,
just adding it to the system path environment variable. That works pefectly,
but it doesn't allow the Image Magick detect that Perl is installed because
I even use it on a linux-like path (/usr/bin). So, I tried using a virtual
pc with Windows XP, installing Perl with the installer and installing
ImageMagick too. I tried it with both perl versions and I was getting
errors. Finally, I found that those errors dissapeared by installing the
"Microsoft Visual C++ 2008 Redistributable Setup".
--------------------------------------------------
From: "Gaurav Vaidya"
Sent: Monday, May 18, 2009 11:56 AM
Subject: Re: PerlMagick (Image::Magick) Installation
> I've been having problems building this module recently, too. I'm
> pretty sure it used to work with Strawberry Perl 5.10 using 'ppm' no
> more than a few of months ago. ImageMagick 6.5.0-5 was released on Mar
> 22, so if you haven't already, you could try downloading an older
> version of the software and try installing the PPD from that.
> Hopefully one of the other Windows geeks here can figure out the
> "Recursion too deep" error :-).
>
> Btw, I'd love to see a consistent, well-tested, well *documented* way
> of getting Image::Magick to work on Windows - it's such a useful and
> powerful library! - so *when* you manage to get it working, could you
> please document how you did it on the Perl Win32 wiki? Maybe at
> http://win32.perl.org/wiki/index.php?title=PerlMagick
> ? I'll do the same if I get to the solution first.
I'll sure do it Guarav. I found a way to install it without any issues, and
better than that, a way to keep it even simpler after that so other people
experimenting issues with Image::Magick could opt for it as something fast.
As soon as I have the time, I'll document it and let you guys know.
Thank you all again,
Francisco Zarabozo
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs