【发布时间】:2020-08-04 07:57:25
【问题描述】:
我无法在带有 High Sierra 的 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+ 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 []
谁能帮忙,谢谢
【问题讨论】:
-
"IO::Socket::SSL 2.009+ 需要 TLS 支持":我尝试在 macOS Catalina 上安装它,perl 版本 5.28.2。即使我首先对
cpanm IO::Socket::SSL进行一次测试Net::MAC::Vendor仍然失败。稍后我必须对此进行更多研究