gpt4 book ai didi

perl - 无法在 cygwin 上安装 LWP::Simple

转载 作者:行者123 更新时间:2023-12-01 16:02:38 25 4
gpt4 key购买 nike

我是一名 Perl 初学者,尝试在 cygwin (CYGWIN_NT-6.3) 上安装 LWP::Simple,但安装失败。安装似乎从一开始就出错了。你能帮我解决这个问题吗?

$ perl -MCPAN -e'install "LWP::Simple"'

Going to read '/home/grw.kremilek/.cpan/Metadata'
Database was generated on Thu, 11 Sep 2014 19:53:17 GMT
Running install for module 'LWP::Simple'
Running make for M/MS/MSCHILLI/libwww-perl-6.08.tar.gz
Checksum for /home/grw.kremilek/.cpan/sources/authors/id/M/MS/MSCHILLI/libwww-perl-6.08.tar.gz ok

CPAN.pm: Going to build M/MS/MSCHILLI/libwww-perl-6.08.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Encode::Locale 0 not found.
Warning: prerequisite File::Listing 6 not found.
Warning: prerequisite HTML::Entities 0 not found.
Warning: prerequisite HTML::HeadParser 0 not found.
Warning: prerequisite HTTP::Cookies 6 not found.
Warning: prerequisite HTTP::Daemon 6 not found.
Warning: prerequisite HTTP::Date 6 not found.
Warning: prerequisite HTTP::Negotiate 6 not found.
Warning: prerequisite HTTP::Request 6 not found.
Warning: prerequisite HTTP::Request::Common 6 not found.
Warning: prerequisite HTTP::Response 6 not found.
Warning: prerequisite HTTP::Status 6 not found.
Warning: prerequisite LWP::MediaTypes 6 not found.
Warning: prerequisite Net::HTTP 6.07 not found.
Warning: prerequisite URI 1.10 not found.
Warning: prerequisite URI::Escape 0 not found.
Warning: prerequisite WWW::RobotRules 6 not found.
Writing Makefile for LWP
Writing MYMETA.yml
---- Unsatisfied dependencies detected during ----
---- MSCHILLI/libwww-perl-6.08.tar.gz ----
URI::Escape [requires]
LWP::MediaTypes [requires]
Encode::Locale [requires]
HTTP::Status [requires]
File::Listing [requires]
HTTP::Negotiate [requires]
HTML::Entities [requires]
HTTP::Daemon [requires]
Net::HTTP [requires]
URI [requires]
HTML::HeadParser [requires]
HTTP::Cookies [requires]
HTTP::Request::Common [requires]
HTTP::Date [requires]
HTTP::Response [requires]
HTTP::Request [requires]
WWW::RobotRules [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'URI::Escape'
Running make for E/ET/ETHER/URI-1.64.tar.gz
Checksum for /home/grw.kremilek/.cpan/sources/authors/id/E/ET/ETHER/URI-1.64.tar.gz ok

最佳答案

有一个用于 LWP 的 cygwin 包:perl-libwww-perl

如果您需要 HTTPS,您应该安装:perl-LWP-Protocol-https

关于perl - 无法在 cygwin 上安装 LWP::Simple,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25801489/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com