hexsum / Mojo-Webqq

【重要通知:WebQQ将在2019年1月1日停止服务,此项目目前已停止维护,感谢大家四年来的一路陪伴】使用Perl语言(不会没关系)编写的smartqq/webqq客户端框架(非GUI),可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
BSD 2-Clause "Simplified" License
1.72k stars 321 forks source link

安装时提示Building and testing Mojo-Webqq-v2.1.4 ... FAIL #163

Closed andares closed 7 years ago

andares commented 7 years ago

完整信息如下

# cpanm Mojo::Webqq --force
--> Working on Mojo::Webqq
Fetching http://mirrors.163.com/cpan/authors/id/S/SJ/SJDY/Mojo-Webqq-2.1.4.tar.gz ... OK
Configuring Mojo-Webqq-v2.1.4 ... OK
Building and testing Mojo-Webqq-v2.1.4 ... FAIL
! Testing Mojo-Webqq-v2.1.4 failed but installing it anyway.
Successfully reinstalled Mojo-Webqq-v2.1.4
1 distribution installed

运行时提示包未安装,附上perl版本

# perl -Mojo::Webqq
Can't locate ojo/Webqq.pm in @INC (you may need to install the ojo::Webqq module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.

# perl --version

This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi
(with 44 registered patches, see perl -V for more detail)

已经按照readme中提示apt安装了libssl-dev,但提示报错后不知道有没有详细日志在哪里能看,这样可以更方便定位错误(比如缺少哪些包之类的)?

hexsum commented 7 years ago

perl -M Mojo::Webqq

andares commented 7 years ago

了解,原来是要用perl -MMojo::Webqq启动