安装percona-toolkit提示的报错

时间:2021-07-20 06:12:15

[root@hank-yoon export]# tar -xvf percona-toolkit_2.2.15-2.tar.gz

[root@hank-yoon export]# cd percona-toolkit

[root@hank-yoon percona-toolkit]# perl Makefile.PL

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 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.

通过yum安装perl-devel
[root@hank-yoon percona-toolkit]# yum install perl-devel

[root@hank-yoon percona-toolkit]# yum install *perl-DBI*
[root@hank-yoon percona-toolkit]# yum install *DBD*
[root@hank-yoon percona-toolkit]# yum install perl-Time-HiRes

[root@hank-yoon percona-toolkit]# yum install perl-DBI

[root@hank-yoon percona-toolkit]# yum install perl-DBD-MySQL
​[root@hank-yoon percona-toolkit]# yum install perl-IO-Socket-SSL.noarch​

[root@hank-yoon percona-toolkit]# perl Makefile.PL

[root@hank-yoon percona-toolkit]# make

[root@hank-yoon percona-toolkit]#make test

[root@hank-yoon percona-toolkit]# make install