安装 Tk 执行命令时出错

发布于 2024-09-30 12:58:14 字数 1153 浏览 3 评论 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

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

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

娇柔作态 2024-10-07 12:58:14

该消息的重要部分是

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 之类的东西,配置后您还必须安装它。但是,这与您收到的错误无关。

The important part of that message is

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

Your local timestamps are screwed up, causing make to be confused as various targets in the Makefile 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 like en_US.UTF-8, which you'll also have to install, once configured. However, this is unrelated to the error you're getting.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文