免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3502 | 回复: 4
打印 上一主题 下一主题

perl怎么安装Crypt::SSLeay模块? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-16 21:31 |只看该作者 |倒序浏览
$sudo apt-get install libssl-dev
$sudo apt-get install libgcc*
之后,
$sudo perl Makefile.PL
还是出现Note (probably harmless): No library found for -lgcc的错误。

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2009-08-16 21:40 |只看该作者
probably harmless

论坛徽章:
0
3 [报告]
发表于 2009-08-16 21:54 |只看该作者
但测试一下
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-basic......ok                                                           
        4/12 skipped: various reasons
t/01-connect....NOK 1/8                                                      
#   Failed test 'Net::SSL->new'
#   at t/01-connect.t line 25.
# Connect failed: connect: 连接被拒绝; 连接被拒绝 at t/01-connect.t line 11
t/01-connect....ok 2/8# Looks like you failed 1 test of 8.                  
t/01-connect....dubious                                                      
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/8 tests, 87.50% okay (less 7 skipped tests: 0 okay, 0.00%)
t/02-live.......ok 1/4# config on linux                                      
# ssl OpenSSL 0.9.8 in /usr
# lib -L/usr/lib -lssl -lcrypto -lgcc
# inc -I/usr/include/openssl
# cc cc
t/02-live.......ok                                                           
        1/4 skipped: various reasons
Failed Test    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/01-connect.t    1   256     8    1  1
12 subtests skipped.
Failed 1/3 test scripts. 1/24 subtests failed.
Files=3, Tests=24,  2 wallclock secs ( 0.40 cusr +  0.04 csys =  0.44 CPU)
Failed 1/3 test programs. 1/24 subtests failed.
make: *** [test_dynamic] 错误 255
出错
安装
$ sudo make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/local/lib/perl/5.10.0/auto/Crypt/SSLeay/.packlist
Appending installation info to /usr/local/lib/perl/5.10.0/perllocal.pod
还是出错

论坛徽章:
0
4 [报告]
发表于 2009-08-16 22:28 |只看该作者
源里应该有阿 libcrypt-ssleay-perl

论坛徽章:
0
5 [报告]
发表于 2009-08-16 22:36 |只看该作者
原帖由 dajun 于 2009-8-16 22:28 发表
源里应该有阿 libcrypt-ssleay-perl


嗯 可以了,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP