安装Tk Execute命令时出错

时间:2010-11-01 05:57:11

标签: perl tk

我正在尝试安装从CPAN下载的Tk-ExecuteCommand包。

安装时我收到此错误。

sait109@debian:~/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

有谁知道解决这个问题。帮帮忙..

1 个答案:

答案 0 :(得分: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这样的东西,一旦配置,您还必须安装它。但是,这与你得到的错误无关。

相关问题