Nathan Glenn wrote:

Hi Nathan

> The exact error message received when I type "perl demo.pl" is:
> Can't locate Image/Magick.pm in @INC (@INC contains: c:/Perl/site/lib
> C:/Perl/lib.) at demo.pl line 5.
> BEGIN failed--compilation aborted at demo.pl line 5.

OK. Please post a tiny program based on the /exact/ code you are trying to run. Eg:

#!/usr/bin/perl

use strict;
use warnings;

use Image::Magic; # Deliberate mis-spell.

my $i = Image::Magic->new();

And the error is (look familiar :-):
Can't locate Image/Magic.pm in @INC (@INC contains: C:/strawberry-perl/perl/lib C:/strawberry-perl/perl/site/lib .) at C:\Temp\x.pl line 6.
BEGIN failed--compilation aborted at C:\Temp\x.pl line 6.

This makes me think Image::Magick is not installed in the Perl you are using, but is installed in another version of Perl, as reported by the package manager you mention.

--
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to