安装 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
有谁知道解决这个问题。请帮忙..
I am trying to install Tk-ExecuteCommand package which i downloaded from CPAN.
While installing i am getting this error.
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
Does anyone knows a fix for this. Help pls..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该消息的重要部分是
您的本地时间戳被搞砸了,导致
make
被混淆,因为Makefile
中的各种目标依赖于/usr/lib/ perl/5.10/Config.pm 来自未来。
修复系统或系统时钟上的时间戳(具体取决于哪个错误),一切都会好起来的。
此外,您还会看到有关已配置但未安装区域设置
en
的警告。我不知道存在任何具有该名称的语言环境。您可能指的是en_US.UTF-8
之类的东西,配置后您还必须安装它。但是,这与您收到的错误无关。The important part of that message is
Your local timestamps are screwed up, causing
make
to be confused as various targets in theMakefile
depend on the/usr/lib/perl/5.10/Config.pm
from the future.Fix the timestamps on your system or your system clock, depending on which is wrong, and things will be fine.
Additionally, you're seeing warnings for having a locale
en
configured, but not installed. I'm not aware of any locale by that name existing. You might've meant something likeen_US.UTF-8
, which you'll also have to install, once configured. However, this is unrelated to the error you're getting.