Installed via ppm, Apache-ImageMagick Version: 2.0b7, Windows 10,
ImageMagick.pm ends up in C:\Perl\site\lib\Apache
PERL5LIB contains PERL5LIB=C:/Perl/site/lib;C:/Perl/lib
A script that works fine on my hosting site (line 8 -> use Image::Magick;), errors out locally:
Can't locate Image/Magick.pm in @INC (you may need to install the Image::Magick module) (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C:\inetpub\wwwroot\perlcsstest\admin\upload6.pl line 8.
BEGIN failed--compilation aborted at C:\inetpub\wwwroot\perlcsstest\admin\upload6.pl line 8.
First thing I see is ImageMagick.pm isn't the same as Magick.pm, so I create C:\Perl\site\lib\Image, copy and rename ImageMagick.pm to Magick.pm into C:\Perl\site\lib\Image. I also edit the file to change the internal package name.
So I get the error to stop, there are other issues I need to address, looks like the '/' vs '\' path problem, but
Now I ask, where should I be getting the "official or ideal" package from? And how to get it installed?
PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
1 post • Page 1 of 1