我无法在Mac上构建Net::MAC::Vendor w/ High Sierra。我是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+ 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 []有人能帮上忙吗,谢谢
发布于 2020-04-22 02:13:32
我还在使用High Sierra (10.13.6),使用的是一台古老但仍在运行的Mac Mini。使用内置的/usr/bin/perl (v5.18.2),在CPAN shell中运行install Net::MAC::Vendor得到了相同的错误。运行force install Net::MAC::Vendor是可行的,因为安装了该模块。
一个简单的perl -MNet::MAC::Vendor -e "print 'hi'"可以工作,所以看起来Perl至少可以加载这个库,但不确定如何测试它真正的工作。但是,至少这会让你安装并试用它。
https://stackoverflow.com/questions/61345772
复制相似问题