操作系统环境:Debian6.0.6
innotop命令已经随mysql client包一起安装了,但在命令行中敲入innotop命令按回车键之后却提示如下错误:
- Can't locate Term/ReadKey.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/innotop line 1341.
- BEGIN failed--compilation aborted at /usr/bin/innotop line 1341.
网上搜索了一下,结合搜索到的信息,发现是缺少跟Term/ReadKey相关的包或者lib什么的。OK,用apt-cache搜索一下:
- libterm-readkey-perl - A perl module for simple terminal control
- libterm-readline-perl-perl - Perl implementation of Readline libraries
不用看了,肯定是没安装libterm-readkey-perl这个包。用apt-get install 安装了之后果真就可以正常使用innotop命令了。
阅读(1085) | 评论(0) | 转发(0) |