标签:
[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]# perl Makefile.PL
[root@hank-yoon percona-toolkit]# make
[root@hank-yoon percona-toolkit]#make test
[root@hank-yoon percona-toolkit]# make install
标签:
原文地址:http://www.cnblogs.com/hankyoon/p/5169704.html