Can't locate Image/Thumbnail.pm

Posted by n770 on 2008-03-12 02:05
Forums: PPM | OS: Windows XP Pro

How to solve this problem:
Latest perl installed:
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 3 registered patches, see perl -V for more detail)

Source code for download:
http://homepages.fh-regensburg.de/~klh39048/perl/geotag.zip
(this script runs ok on a LINIX site! want it on XP...)

E:\geotagging>perl geotag.pl
Can't locate Image/Thumbnail.pm in @INC (@INC contains: E:/Perl/site/lib E:/Perl
/lib .) at geotag.pl line 636.
BEGIN failed--compilation aborted at geotag.pl line 636.

Did search Image Thumbnail on PPM
Installed files:
E:/Perl/html/site/lib/Image/Magick/Thumbnail/Fixed.html
E:/Perl/site/lib/Image/Magick/Thumbnail/Fixed.pm
E:/Perl/site/lib/auto/Image/Magick/Thumbnail/Fixed/.packlist

Did try this, but fails (see below)
What else can I do?
There is no other Image::Thumnail on PPM

cpan> install Image::Thumbnail
CPAN: Storable loaded ok (v2.18)
Going to read E:\Perl\cpan\Metadata
Database was generated on Tue, 11 Mar 2008 08:31:53 GMT
Running install for module 'Image::Thumbnail'
Running make for L/LG/LGODDARD/Image-Thumbnail-0.63.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for E:\Perl\cpan\sources\authors\id\L\LG\LGODDARD\Image-Thumbnail-0.63.
tar.gz ok
Scanning cache E:\Perl/cpan/build for sizes
............................................................................DONE

CPAN: Archive::Tar loaded ok (v1.38_01)
Image-Thumbnail-0.63/
Image-Thumbnail-0.63/Changes
Image-Thumbnail-0.63/lib/
Image-Thumbnail-0.63/lib/Image/
Image-Thumbnail-0.63/lib/Image/Thumbnail.pm
Image-Thumbnail-0.63/Makefile.PL
Image-Thumbnail-0.63/MANIFEST
Image-Thumbnail-0.63/META.yml
Image-Thumbnail-0.63/README
Image-Thumbnail-0.63/t/
Image-Thumbnail-0.63/t/gdblob.t
Image-Thumbnail-0.63/t/gdf.t
Image-Thumbnail-0.63/t/gdo.t
Image-Thumbnail-0.63/t/imagerf.t
Image-Thumbnail-0.63/t/imagero.t
Image-Thumbnail-0.63/t/imblob.t
Image-Thumbnail-0.63/t/imf.t
Image-Thumbnail-0.63/t/imfa.t
Image-Thumbnail-0.63/t/imo.t
Image-Thumbnail-0.63/t/test.jpg
CPAN: File::Temp loaded ok (v0.18)
CPAN: YAML loaded ok (v0.66)

CPAN.pm: Going to build L/LG/LGODDARD/Image-Thumbnail-0.63.tar.gz

This module requires at least one of: Imager,GD,Image::Magick...
Looking for Imager ... not found
Looking for GD ... not found
Looking for Image::Magick ... not found

This module requires you have installed on your system
one of either the GD, Imager, or Image::Magick Perl modules.

It appears you have none of these.

If you feel this message to be in error, please contact
Lee, at LGoddard-at-CPAN-dot-org.

LGODDARD/Image-Thumbnail-0.63.tar.gz
E:\Perl\bin\perl.exe Makefile.PL -- NO Makefile created
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
LGODDARD/Image-Thumbnail-0.63.tar.gz : writemakefile NO -- No Makefile
created

cpan>

MarcZ | Wed, 2008-03-12 10:56

using PPM
edit
preferences
add the following repository:
name UWINNIPEG
location: http://cpan.uwinnipeg.ca/PPMPackages/10xx/

then install the following two modules:

GD
Image-ExifTool

n770 | Thu, 2008-03-13 00:18

Thank you for PPM edit tip.
did install GD and Iamge-ExifTool
and did again cpan install Image::Thumbnail

now error nmake ist not found

in detail:

cpan> install Image::Thumbnail
CPAN: Storable loaded ok (v2.18)
Going to read E:\Perl\cpan\Metadata
Database was generated on Tue, 11 Mar 2008 08:31:53 GMT
Running install for module 'Image::Thumbnail'
Running make for L/LG/LGODDARD/Image-Thumbnail-0.63.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for E:\Perl\cpan\sources\authors\id\L\LG\LGODDARD\Image-Thumbn
tar.gz ok
Scanning cache E:\Perl/cpan/build for sizes
.......................................................................

DEL(1/1): E:\Perl\cpan\build\DateTime-0.42-Im2zr5
CPAN: Archive::Tar loaded ok (v1.38_01)
Image-Thumbnail-0.63/
Image-Thumbnail-0.63/Changes
Image-Thumbnail-0.63/lib/
Image-Thumbnail-0.63/lib/Image/
Image-Thumbnail-0.63/lib/Image/Thumbnail.pm
Image-Thumbnail-0.63/Makefile.PL
Image-Thumbnail-0.63/MANIFEST
Image-Thumbnail-0.63/META.yml
Image-Thumbnail-0.63/README
Image-Thumbnail-0.63/t/
Image-Thumbnail-0.63/t/gdblob.t
Image-Thumbnail-0.63/t/gdf.t
Image-Thumbnail-0.63/t/gdo.t
Image-Thumbnail-0.63/t/imagerf.t
Image-Thumbnail-0.63/t/imagero.t
Image-Thumbnail-0.63/t/imblob.t
Image-Thumbnail-0.63/t/imf.t
Image-Thumbnail-0.63/t/imfa.t
Image-Thumbnail-0.63/t/imo.t
Image-Thumbnail-0.63/t/test.jpg
CPAN: File::Temp loaded ok (v0.18)
CPAN: YAML loaded ok (v0.66)

CPAN.pm: Going to build L/LG/LGODDARD/Image-Thumbnail-0.63.tar.gz

This module requires at least one of: Imager,GD,Image::Magick...
Looking for Imager ... not found
Looking for GD ... ok
Checking if your kit is complete...
Looks good
Writing Makefile for Image::Thumbnail
Der Befehl "nmake" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
LGODDARD/Image-Thumbnail-0.63.tar.gz
nmake -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
LGODDARD/Image-Thumbnail-0.63.tar.gz : make NO

oceco | Thu, 2008-03-13 02:02

Hi N770

I also want to use geotag.pl and run into the same problem as you. Image::Thumbnail installation failed.

Then I installed GD with ppm from http://cpan.uwinnipeg.ca/PPMPackages/10xx/.
After that I did cpan install Image::Thumbnail and it worked!

BTW: I installed all other modules with cpan without any problem.

good luck/oceco