MIME::Lite::TT::HTML Perl 安装问题

发布于 2024-12-03 15:49:00 字数 686 浏览 0 评论 0原文

我正在尝试安装 MIME::Lite::TT::HTML (Perl 模块),但出现错误。我安装了所有额外费用(我通过 CPAN 安装),但是出现此错误:

default not defined in test_types! at ./Build line 57
CHUNZI/MIME-Lite-TT-HTML-0.04.tar.gz
./Build test -- NOT OK

运行 reports CHUNZI/MIME-Lite-TT-HTML-0.04.tar.gz 时,输出为:

Distribution: C/CH/CHUNZI/MIME-Lite-TT-HTML-0.04.tar.gz
CPAN: CPAN::DistnameInfo loaded ok (v0.12)
CPAN: LWP loaded ok (v5.813)
CPAN: File::Temp loaded ok (v0.22)
Fetching 'http://cpantesters.perl.org/show/MIME-Lite-TT-HTML.yaml'...Could not download 'http://cpantesters.perl.org/show/MIME-Lite-TT-HTML.yaml': 500

cpantesters.perl .org 不存在,那么如何安装该模块?

I am trying to install MIME::Lite::TT::HTML (Perl module) and I am getting an error. I have ALL perquisites installed (I installed through CPAN), however I get this error:

default not defined in test_types! at ./Build line 57
CHUNZI/MIME-Lite-TT-HTML-0.04.tar.gz
./Build test -- NOT OK

When running reports CHUNZI/MIME-Lite-TT-HTML-0.04.tar.gz the output is:

Distribution: C/CH/CHUNZI/MIME-Lite-TT-HTML-0.04.tar.gz
CPAN: CPAN::DistnameInfo loaded ok (v0.12)
CPAN: LWP loaded ok (v5.813)
CPAN: File::Temp loaded ok (v0.22)
Fetching 'http://cpantesters.perl.org/show/MIME-Lite-TT-HTML.yaml'...Could not download 'http://cpantesters.perl.org/show/MIME-Lite-TT-HTML.yaml': 500

cpantesters.perl.org doesn't exist, so how can I install the module?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

还如梦归 2024-12-10 15:49:00

url http://cpantesters.perl.org/show/MIME-Lite-TT-HTML.yaml 似乎超时。我认为这与您在输出中遇到的错误相同。

如果仅需要该 url 来运行测试,您可能可以 下载模块 gzip,解压它并运行类似 perl Makefile.PL &&制作&& sudo make install。当然,你不知道测试是否会通过。

如果这不起作用:因为这似乎是一个微不足道的普通 Perl 模块,您可能可以下载 .pm 文件 并将其放在 Perl 包含路径中的某个位置。请记住将其放入目录结构 MIME/Lite/TT/ 中。

The url http://cpantesters.perl.org/show/MIME-Lite-TT-HTML.yaml seems to time out. I think that's the same error you got in your output.

If the url is only needed for running the tests, you might be able to download the module gzip, untar it and run something like perl Makefile.PL && make && sudo make install. Of course then you don't whether the tests would have passed.

If that doesn't work: since this seems to be a trivial plain-perl module, you might be able to just download the .pm file and put it somewhere in your perl include path. Remember to put inside the directory structure MIME/Lite/TT/.

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