安裝percona-toolkit提示的報錯

haoge0205發表於2015-11-04
[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

yum install perl-DBI

yum install perl-DBD-MySQL
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

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28939273/viewspace-1822163/,如需轉載,請註明出處,否則將追究法律責任。

相關文章