0

我正在尝试安装从 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

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

4

1 回答 1

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的,一旦配置,您还必须安装它。但是,这与您遇到的错误无关。

于 2010-11-01T06:21:55.537 回答