How to build?

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
sergvg

How to build?

Post by sergvg »

Hello!

I have problems to install Image::Magick module for Perl in Windows XP SP3.
I tried Actovestate Perl 5.10.1 & Binaries ImageMagick. There are many problems from error loading magick.dll to crashes perl when Image::Magick loads image from a handle, and AS Perls crashes at several others times. Therefore I want to build perl & all modules from sources.

I'm downloaded MinGW (gcc 4.4.0), built perl, it's ok. I install ImageMagick-6.5.8-7-Q16-windows-dll.exe, checked "Install development headers and libraries for C and C++", all ok.

When I run "perl -MCPAN -e 'install Image::Magick'", I get following error:
"Note (probably harmless): No library found for -lMagickCore" and then other error becouse library MagicCore ansent.

Where located this library ?

PS: Image-Magick folder added to %PATH%, dmake & nmake present in %PATH%.

User avatar
Randolf
Posts: 19
Joined: 2007-10-08T20:58:27-07:00
Location: Beautiful British Columbia, Canada

Re: How to build?

Post by Randolf »

A reboot of Windows solves these sorts of problems for me, and then I don't even need to build anything from sources. After installing anything major, such as Perl or ImageMagick, be sure to reboot Windows.

In the Unix/Linux world this isn't needed because the OS has these things handled properly, but for Windows a full reboot is required because a lot of older PATH and other environment variables from boot are left hanging around attached to services, drivers, etc.

Post Reply