Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report