Get the App
SLTechnology News&Howtos  ›  Database  › 

How to solve the problem of Can't locate ExtUtils/MakeMaker.pm in @ INC error reporting in mysql

Shulou Source: shulou.com Published: 2022-05-31 21:19:56 10月02日 Update

Editor to share with you how to solve the problem of Can't locate ExtUtils/MakeMaker.pm in @ INC error reporting in mysql, I believe most people do not know much about it, so share this article for your reference. I hope you will learn a lot after reading this article. Let's learn about it.

When installing mha4mysql, the general steps are: decompress, perl Makefile.PL,make, make install. The error report in the execution of perl Makefile.PL is as follows, briefly record the solution

# perl Makefile.PL

Can't locate ExtUtils/MakeMaker.pm in @ INC (@ INC contains: inc / 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 inc/Module/Install/Can.pm line 5.

BEGIN failed--compilation aborted at inc/Module/Install/Can.pm line 5.

Compilation failed in require at inc/Module/Install.pm line 307.

Can't locate ExtUtils/MakeMaker.pm in @ INC (@ INC contains: inc / 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 inc/Module/Install/Makefile.pm line 4.

BEGIN failed--compilation aborted at inc/Module/Install/Makefile.pm line 4.

Compilation failed in require at inc/Module/Install.pm line 307.

Can't locate ExtUtils/MM_Unix.pm in @ INC (@ INC contains: inc / 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 inc/Module/Install/Metadata.pm line 322.

Installation dependency

Yum install perl-ExtUtils-MakeMaker

Continue to report errors

# perl Makefile.PL

* Module::AutoInstall version 1.06

* Checking for Perl dependencies...

Can't locate CPAN.pm in @ INC (@ INC contains: inc / 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 inc/Module/AutoInstall.pm line 304.

Yum-y install perl-CPAN

The above is all the contents of this article entitled "how to solve the problem of Can't locate ExtUtils/MakeMaker.pm in @ INC error in mysql". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Articles questions content not much most methods more steps knowledge industry information information channels channels references learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi NVidia Redmi Docker Shulou Technology