2010-11-01 188 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