Install fails under Fedora 14

Started by extraordinarymachine, September 10, 2011, 06:00:11 AM

Previous topic - Next topic

extraordinarymachine

Hello,

I'm unable to install EXIFtool from source -- I'm running Fedora 14, which I've just recently re-installed. I have Perl 5.12.3 installed, but when after unzipping, typing "perl Makefile.PL" gives:


bash-4.1$ perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.


Are there other Perl modules I should install? I haven't been able to find a list of dependencies anywhere in the documentation.

Many thanks.

Phil Harvey

There are no dependencies other than the standard Perl libraries.  I don't understand why the standard MakeMaker library seems to be missing on your system, although it may have something to do with the fact that you have Perl 5.12.3 installed but your @INC contains paths to version 5.10.0.  Without MakeMaker you won't be able to install any Perl modules at all, let alone ExifTool.

But luckily ExifTool is pure Perl, so you can run it without installing.  However, you may run into more problems with missing standard Perl libraries unless you solve your Perl installation problem.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

extraordinarymachine

Why, you're absolutely right. I didn't notice that some of the paths include references to 5.10. That's interesting.

Any suggestions on resolving the problem? I have no clue about Perl. Any help is appreciated.

Phil Harvey

I suggest re-installing Perl.  It seems like it isn't properly installed.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

extraordinarymachine

Ah, I 've already tried that. That was the extent of my self-diagnosing steps, actually.

Phil Harvey

OK then, search for MakeMaker.pm on your hard disk and make sure it is somewhere in the @INC directories of your last post.  I don't know how to change the @INC directories, but you may have to figure this out to fix the problem.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

extraordinarymachine

Thanks! ... I'll give it a shot, and ask for more help at the Fedora forums if I can't get it to work that way. Your help is appreciated. (=