Can't locate ImageExifTool.pm problems...

Started by Archive, May 12, 2010, 08:53:51 AM

Previous topic - Next topic

Archive

[Originally posted by jefman on 2005-10-01 18:58:46-07]

Hi,

I have installed ActivePerl on a Windows 2003 server and scripts work, but when i try to use my test script:

Code:
<script language="perlscript" runat="server">

use Image::ExifTool;
my $exifTool = new Image::ExifTool;
my $info = $exifTool->ImageInfo('D:/mypath/050127_02_4.JPG');

foreach (keys %$info) {
    print "$_ => $$info{$_}\n";
}

</script>

I get the following:

PerlScript Error error '80004005'

Can't locate Image/ExifTool.pm in @INC (@INC contains: E:/Perl/lib E:/Perl/site/lib .) at (eval 2) line 1. BEGIN failed--compilation aborted (in cleanup) Can't locate Image/ExifTool.pm in @INC (@INC contains: E:/Perl/lib E:/Perl/site/lib .) at (eval 2) line 1. BEGIN failed--compilation aborted

I can use exiftool on command line but not through the web (iis).

I tried this:

INSTALLATION

You can install the Image::ExifTool package to make it available for use by
other Perl scripts by typing the following:

   perl Makefile.PL
   make
   make test
   make install

But make doesn't work on Win platform ?

I tried "You can install ExifTool manually by moving 'exiftool' and the
   'lib' directory to any directory in your current PATH." But that didn't help either..

Any suggestions ?

Archive

[Originally posted by jefman on 2005-10-01 19:21:05-07]

I think i solved it, I installed nmake from Ms. Know I have to learn how to list the exif info from my files. I'm total newbie on perl.

Thx

/Jef

Archive

[Originally posted by exiftool on 2005-10-02 00:25:25-07]

I'm glad you solved your problem.  I would have suggested adding the directory containing the ExifTool libraries to the @INC list.  You can look at the top of the 'exiftool' script for an example of how I do this to add the exiftool lib directory to the @INC list.