zoukankan      html  css  js  c++  java
  • perl安装Weixin::Client 模块依赖问题

    <pre name="code" class="sql">jrhmpt01:/root# cpan Weixin::Client;
    
    报错信息如下:
    
    t/load_module.t .. 1/1 
    #   Failed test 'use Weixin::Client;'
    #   at t/load_module.t line 8.
    #     Tried to use 'Weixin::Client'.
    #     Error:  Can't locate Net/SSL.pm in @INC) at /usr/share/perl5/Net/HTTPS.pm line 19.
    # Can't locate IO/Socket/SSL.pm in @INC (@INC contains: /root/.cpan/build/Weixin-Client-2.0-IEWdXw/blib/lib /root/.cpan/build/Weixin-Client-2.0-IEWdXw/blib/arch 
    
    /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/Net/HTTPS.pm 
    
    line 23.
    # Compilation failed in require at /usr/share/perl5/LWP/Protocol/https.pm line 48.
    # Compilation failed in require at /root/.cpan/build/Weixin-Client-2.0-IEWdXw/blib/lib/Weixin/Client.pm line 7.
    # BEGIN failed--compilation aborted at /root/.cpan/build/Weixin-Client-2.0-IEWdXw/blib/lib/Weixin/Client.pm line 7.
    # Compilation failed in require at t/load_module.t line 8.
    # BEGIN failed--compilation aborted at t/load_module.t line 8.
    # Looks like you failed 1 test of 1.
    t/load_module.t .. Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/1 subtests 
    
    需要安装 :
    Error:  Can't locate Net/SSL.pm in @INC) at /usr/share/perl5/Net/HTTPS.pm line 19.
    
    # Can't locate IO/Socket/SSL.pm in @INC (@INC contains: 
    
    cpan IO::Socket::SSL
    
    
    jrhmpt01:/root# cd .cpan/
    jrhmpt01:/root/.cpan# ls
    build  FTPstats.yml  Metadata  prefs  sources
    jrhmpt01:/root/.cpan# find . -name SSL
    ./build/IO-Socket-SSL-2.020-3FMbkd/lib/IO/Socket/SSL
    ./build/IO-Socket-SSL-2.020-3FMbkd/blib/lib/IO/Socket/SSL
    ./build/IO-Socket-SSL-2.020-3FMbkd/blib/lib/auto/IO/Socket/SSL
    ./build/IO-Socket-SSL-2.020-3FMbkd/blib/arch/auto/IO/Socket/SSL
    ./build/IO-Socket-SSL-2.016-LxqFXJ/lib/IO/Socket/SSL


    
                                        
    
  • 相关阅读:
    个人总结
    第十六周学习进度条
    第二阶段冲刺第十天
    第二阶段冲刺第九天
    分层体系架构模式
    安卓语音识别
    AndroidStudio中导入jar包的方法
    Android中控件之间添加分割线
    按照分层设计理念,完成《XXX需求征集系统》的概念结构设计
    在Eclipse下搭建Hibernate框架(加载hibernate工具插件,离线)
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13351226.html
Copyright © 2011-2022 走看看