ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: halloleo on March 02, 2022, 06:54:11 PM

Title: "Can't locate ExtUtils/MakeMaker.pm in @INC" when installing Exiftool on RHEL 8
Post by: halloleo on March 02, 2022, 06:54:11 PM
Hi there

I love Exiftool - Normally I used it on macOS, but now I need to install it on a RHEL 8 machine.

I got the 12.40 tar ball, but when I run

perl Makefile.PL

I get the error "Can't locate ExtUtils/MakeMaker.pm in @INC.

Perl itself is installed:

perl --version

prints "This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi".

I though for its basic use ExifTool doesn't have dependencies... How can I install Exiftool fromthe tar ball?
Title: Re: "Can't locate ExtUtils/MakeMaker.pm in @INC" when installing Exiftool on RHEL 8
Post by: Phil Harvey on March 02, 2022, 07:32:08 PM
You don't need to install it.  Just copy "exiftool" and the "lib" directory to somewhere in your path.

- Phil
Title: Re: "Can't locate ExtUtils/MakeMaker.pm in @INC" when installing Exiftool on RHEL 8
Post by: halloleo on March 02, 2022, 09:43:25 PM
Thanks Phil. Makes sense.

Very strange though that the Perl install on that machine is missing something so basic that the install script expects it...