Page 1 of 1

How to build?

Posted: 2010-01-01T03:18:02-07:00
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%.

Re: How to build?

Posted: 2010-01-10T21:43:20-07:00
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.