2010-11-01 185 views
0

我想安装我从CPAN下载的Tk-ExecuteCommand软件包。安装Tk执行命令时出错

安装时出现此错误。

[email protected]:~/Desktop/Tk-ExecuteCommand-1.6$ sudo make 
make: Warning: File `/usr/lib/perl/5.10/Config.pm' has modification time 2.3e+07 s in the future 
Makefile out-of-date with respect to /usr/lib/perl/5.10/Config.pm /usr/lib/perl/5.10/CORE/config.h /usr/local/lib/perl/5.10.0/Tk/Config.pm 
Cleaning current config before rebuilding Makefile... 
make -f Makefile.old clean > /dev/null 2>&1 
/usr/bin/perl Makefile.PL 
perl: warning: Setting locale failed. 
perl: warning: Please check that your locale settings: 
     LANGUAGE = (unset), 
     LC_ALL = (unset), 
     LANG = "en" 
    are supported and installed on your system. 
perl: warning: Falling back to the standard locale ("C"). 
/home/sait109/Desktop/Tk-ExecuteCommand-1.6 does not start with /usr/local/lib/perl/5.10.0 
i.e. building outside Tk itself 
Checking if your kit is complete... 
Looks good 
Writing Makefile for Tk::ExecuteCommand 
==> Your Makefile has been rebuilt. <== 
==> Please rerun the make command. <== 
false 
make: *** [Makefile] Error 1 

有没有人知道这个问题的解决方法。帮助请..

+0

如果有疑问,请运行'make clean'。 :) – Ether 2010-11-01 16:59:05

回答

1

该消息的重要组成部分,是

make: Warning: File `/usr/lib/perl/5.10/Config.pm' has modification time 2.3e+07 s in the future 
Makefile out-of-date with respect to /usr/lib/perl/5.10/Config.pm /usr/lib/perl/5.10/CORE/config.h /usr/local/lib/perl/5.10.0/Tk/Config.pm 

你的本地时间戳搞砸了,导致make混淆作为Makefile各项目标取决于/usr/lib/perl/5.10/Config.pm从未来。

修复您的系统或系统时钟的时间戳,具体取决于哪个错误,并且事情会很好。

此外,您看到警告已配置区域en,但未安装。我不知道该名称存在的任何区域设置。您可能意味着像en_US.UTF-8之类的东西,一旦配置完成,您还必须安装它。但是,这与您遇到的错误无关。

+0

问题是只与本地时间戳...我调整了系统时间,现在它工作正常...非常感谢你Rafl – 2010-11-01 06:41:56