无法生成Perl模块Net::MAC::Vendor
我无法在具有高分辨率的MAC上构建Net::MAC::Vendor。我对Perl比较陌生,但在过去构建过模块。错误似乎是:无法生成Perl模块Net::MAC::Vendor,perl,cpan,Perl,Cpan,我无法在具有高分辨率的MAC上构建Net::MAC::Vendor。我对Perl比较陌生,但在过去构建过模块。错误似乎是: Failed fetching [https://services13.ieee.org/RST/standards-ra-web/rest/assignments/download/?registry=MA-L&format=html&text=14-10-9F] HTTP status [] message [IO::Socket::SSL 2.009+
Failed fetching [https://services13.ieee.org/RST/standards-ra-web/rest/assignments/download/?registry=MA-L&format=html&text=14-10-9F] HTTP status []
message [IO::Socket::SSL 2.009+ required for TLS support] at t/fetch_oui_from_custom.t line 21.
Could not fetch data from the IEEE! at t/fetch_oui_from_custom.t line 21.
# Failed test ''Got back array reference' isa 'ARRAY''
# at t/fetch_oui_from_custom.t line 23.
# 'Got back array reference' isn't defined
# Failed test 'Fetched Apple's OUI entry'
# at t/fetch_oui_from_custom.t line 25.
# ''
# doesn't match '(?^:Apple, Inc\.)'
# Looks like you failed 2 tests of 2.
t/fetch_oui_from_custom.t .. 2/?
# Failed test 'fetch'
# at t/fetch_oui_from_custom.t line 27.
Use of uninitialized value in concatenation (.) or string at /Users/johnprokopek/.cpan/build/Net-MAC-Vendor-1.265-13/blib/lib/Net/MAC/Vendor.pm line 320.
Failed fetching [http://standards.ieee.org/cgi-bin/ouisearch?14-10-9F] HTTP status []
有人能帮忙吗,谢谢我还在High Sierra(10.13.6)上,在一台古老但仍在运行的Mac Mini上,2010年年中。使用内置的
/usr/bin/perl
(v5.18.2),在CPAN外壳中运行install Net::MAC::Vendor
,会出现相同的错误。运行force install Net::MAC::Vendor
有效,因为模块已安装
一个简单的perl-MNet::MAC::Vendor-e“print'hi'”
可以工作,所以看起来perl至少可以加载这个库,但不确定如何真正测试它是否工作。但是,至少这会让您安装并试用它。“TLS支持所需的IO::Socket::SSL 2.009+”:我尝试在macOS Catalina,perl版本5.28.2上安装它。即使我第一次对Net::MAC::Vendor
进行cpanm IO::Socket::SSL
测试,仍然失败。我以后还要进一步研究这个问题