Subject: | Does not choose GD when only GD is installed |
I have a perl that has neither Image::Magick nor Imager installed, but
it has GD. I tried this program:
%
/home/src/perl/repoperls/installed-perls/perl/v5.11.5-82-g79b7484/bin/perl
-MImage::Thumbnail -le 'my $gif =
"/tmp/ANQf1HF0GY/apache-activemq-5.2.0/webapps/admin/images/spacer.gif";
my $t = new Image::Thumbnail(
size => 55,
create => 1,
input => $gif,
outputpath => "$gif.out",
);
'
Can't locate Image/Magick.pm in @INC (@INC contains:
/home/src/perl/repoperls/installed-perls/perl/v5.11.5-82-g79b7484/lib/site_perl/5.11.5/x86_64-linux-thread-multi-ld
/home/src/perl/repoperls/installed-perls/perl/v5.11.5-82-g79b7484/lib/site_perl/5.11.5
/home/src/perl/repoperls/installed-perls/perl/v5.11.5-82-g79b7484/lib/5.11.5/x86_64-linux-thread-multi-ld
/home/src/perl/repoperls/installed-perls/perl/v5.11.5-82-g79b7484/lib/5.11.5
.) at
/home/src/perl/repoperls/installed-perls/perl/v5.11.5-82-g79b7484/lib/site_perl/5.11.5/Image/Thumbnail.pm
line 347.
I would have expected that Image::Tumbnail would pick GD as the only
aupported AND available image library.
Is there some eval() missing?
Thanks,