MIME::Lite::TT::HTML Perl 安装问题
我正在尝试安装 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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/
.