[FIXED] Can’t locate ExtUtils/MakeMaker.pm in @INC

On a CentOS 6.5 machine I got the following error when I tried to run make install:

Can't locate ExtUtils/MakeMaker.pm in @INC

In my case the full error is:

Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 24.
BEGIN failed--compilation aborted at Makefile.PL line 24.

The solution is easy, just run the following:

yum install perl-ExtUtils-MakeMaker -y

Join the Conversation

  1. Avatar
  2. Avatar
  3. Avatar
  4. Avatar
  5. Avatar
  6. Avatar


Leave a comment

Your email address will not be published. Required fields are marked *