I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-09-26 09:38:46-07 by snah
Problem to add newest ExifTool v.6.98 to Active Perl v.5.6.1.638
Hello Phil,
I'm trying to get your latest release to run with my installation of Active Perl v.5.6.1.638. For some reason I cannot get it up and running.

This is what I do:
1. Download Image-ExifTool-6.98.tar.gz and decompress it into a folder named 'Image-ExifTool-6.98'.
2. There I run 'Makefile.pl'
3. then I run 'nmake' (nmake is version 1.5)
4. then I run 'nmake install'

1. ok
2. The German OS-Message says, that "pl2bat.bat" is wrongly written or cannot be found
3. start ok. but at the very end then same message as above (in 3) is displayed.
4. in the beginning the very same message is displayed.

Begin of screenshots:
c:\temp_check\exiftool\exiftool\Image-ExifTool-6.98>makefile.pl Checking if your kit is complete... Looks good Writing Makefile for Image::ExifTool c:\temp_check\exiftool\exiftool\Image-ExifTool-6.98>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp lib/Image/ExifTool/Sanyo.pm blib\lib\Image\ExifTool\Sanyo.pm cp lib/Image/ExifTool/WriteXMP.pl blib\lib\Image\ExifTool\WriteXMP.pl .... .... .... cp lib/Image/ExifTool/HP.pm blib\lib\Image\ExifTool\HP.pm cp lib/Image/ExifTool/HTML.pm blib\lib\Image\ExifTool\HTML.pm C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e cp exiftool blib\script\exiftool C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -e "system qq[pl2bat.b at ].shift" blib\script\exiftool Der Befehl "pl2bat.bat" ist entweder falsch geschrieben oder konnte nicht gefunden werden. c:\temp_check\exiftool\exiftool\Image-ExifTool-6.98>nmake install Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e cp exiftool blib\script\exiftool C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -e "system qq[pl2bat.b at ].shift" blib\script\exiftool Der Befehl "pl2bat.bat" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Installing C:\Perl\site\lib\Image\ExifTool.pm Installing C:\Perl\site\lib\Image\ExifTool.pod .... .... .... Installing C:\Perl\site\lib\File\RandomAccess.pod Installing C:\Perl\bin\exiftool Writing C:\Perl\site\lib\auto\Image\ExifTool\.packlist Appending installation info to C:\Perl\lib/perllocal.pod c:\temp_check\exiftool\exiftool\Image-ExifTool-6.98>

end of screenshots
Using the PPM> Console the query * command allways displays an older version 5.25 of ExifTool
15. HTML-Tree [3.18] HTML syntax tree builder 16. Image-ExifTool [5.25] Read and write meta information in images 17. IO-Zlib [0.26] IO:: style interface to Compress::Zlib
Then I uninstalled Image-ExifTool v.5.25 and ran the same procedure (1-4) as above.
But I am still getting the same error messages (no change).
I am doing something wrong here?
Hope you can help and look forward to your reply on how to properly build ExifTool into the Perl environment.
The reason that I need the Perl installation is that I am also running gpsPhoto.pl that requires your Exif-Tool in Perl.

With kind regards, Hans.

Environment:
Windows XP fully updated.
Direct Responses: 6127 | Write a response
Posted on 2007-09-26 11:59:04-07 by exiftool in response to 6126
Re: Problem to add newest ExifTool v.6.98 to Active Perl v.5.6.1.638
I have tried myself, but wasn't able to get the nmake Perl installation to work on my Windows system either. But the good news is that it isn't necessary. Image::ExifTool is all Perl, so it doesn't require compilation. All that is required is that you copy all files in the "lib" directory to C:\Perl\site\lib, and "exiftool" to C:\Perl\bin (you may also want to rename this to "exiftool.pl", since this is usually more convenient on a Windows system).

I know this doesn't answer the question, but it will allow you to circumvent the problem. I am not experienced enough in the installation of Perl modules on Windows to figure out exactly what is causing your problem. I presume that this error is not exiftool specific, and that it would occur if you tried to install any other Perl module on your system.

- Phil
Direct Responses: 6253 | Write a response
Posted on 2007-10-13 21:07:46-07 by sugarmana in response to 6127
Re: Problem to add newest ExifTool v.6.98 to Active Perl v.5.6.1.638
Phil I am a little confused and have the same problem as to installing ExifTool in windows. I have extracted all of the files from the tar and they are sitting in a separate directory. So, I have perl installed at c:\perl and there is a c:\perl\bin of course. So, can you identify the files that must go into c:\perl\bin - would these be all the files that were extracted. When you say "all files" do you mean ALL files that were extracted??? Assume I am only dealing with pdf documents, would that cut down the files to move over. Also, when you say rename exitool, do you mean rename exiftool.exe t exiftool.pl. Thanks.
Direct Responses: 6254 | Write a response
Posted on 2007-10-14 01:18:13-07 by exiftool in response to 6253
Re: Problem to add newest ExifTool v.6.98 to Active Perl v.5.6.1.638
Let's be sure we're talking about the same thing: The full Perl distribution, Image-ExifTool-6.99.tar.gz, right? The reason I ask is because you mention exiftool.exe, which doesn't exist in this distribution.

To install the Perl distribution manually, the easiest thing is to follow the instructions for the "Full Perl Distribution" in the Windows section of the installation instructions.

But you can install the application script (exiftool), and its libraries (everything in the 'lib' directory of the Perl distribution), wherever you want. Preferably somewhere in your PATH. When I said "rename exiftool", I meant rename the application script "exiftool" to "exiftool.pl" as in the Windows instructions.

If you don't copy all the library files, you run the risk of encountering an error when running exiftool. You will find that even if you don't use some file types, these modules may be required for other reasons (ie. the -list option loads all modules to get a full list of tag names).

- Phil
Direct Responses: 6258 | Write a response
Posted on 2007-10-14 22:40:09-07 by snah in response to 6254
Re: Problem to add newest ExifTool v.6.98 to Active Perl v.5.6.1.638

Hi Phil and all,

I did have exactly the same problems with my WinXP Installation and finally got them solved. While solving the Windows installation issue I took notes for me and meanwhile posted them on my WEB-site (so I have them handy, where ever I am).

Phil's installation instructions worked fine for me and I ask you all to please stick to his guidelines in any case. I only posted my version of the installation notes because I am also using gpsPhoto.pl and the instructions I have posted take that fact into account as well.

Hope this info might be of help to everybody interested. Feel free to check out my notes here - Perl-ExifTool-gpsPhoto
Good luck, Hans.

Direct Responses: Write a response