首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法构建Perl模块Net::MAC::Vendor

无法构建Perl模块Net::MAC::Vendor
EN

Stack Overflow用户
提问于 2020-04-21 22:19:00
回答 1查看 103关注 0票数 1

我无法在Mac上构建Net::MAC::Vendor w/ High Sierra。我是Perl的新手,但以前曾构建过模块。错误似乎是:

代码语言:javascript
复制
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 []

有人能帮上忙吗,谢谢

EN

回答 1

Stack Overflow用户

发布于 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至少可以加载这个库,但不确定如何测试它真正的工作。但是,至少这会让你安装并试用它。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61345772

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档