[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

8 Comments

  1. i’ve error when compile snmp 5.9.1 like this:
    chmod 755 ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so
    cp TrapReceiver.bs ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
    chmod 644 ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
    Manifying ../blib/man3/NetSNMP::TrapReceiver.3pm
    make[2]: Leaving directory `/usr/local/src/net-snmp-5.9.1/perl/TrapReceiver’
    make[1]: Leaving directory `/usr/local/src/net-snmp-5.9.1/perl’

    what’s wrong abt this?

Leave a comment

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