免费注册 查看新帖 |

Chinaunix

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

问一个模块问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-28 11:22 |只看该作者 |倒序浏览
今天用CPAN来装Net::SMTP::TLS时显示Net::SMTP::TLS is up to date.
但是在perl脚本里用到use Net::SMTP::TLS时却显示:
Can't locate Net/SSLeay.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.12.4/Net/SMTP/TLS.pm line 89.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.12.4/Net/SMTP/TLS.pm line 89.

PS:之前手动装Net::SMTP::TLS时报Warning: prerequisite Net::SSLeay 0 not found.
但是当我装Net::SSLeay时却说:
Cannot determine perl version info from lib/Net/SSLeay.pm
Cannot determine license info from lib/Net/SSLeay.pm
*** Found OpenSSL-1.0.0d installed in /usr
*** That's newer than what this module was tested with
    You should consider checking if there is a newer release of this module
    available. Everything will probably work OK, though.
*** Be sure to use the same compiler and options to compile your OpenSSL, perl,
    and Net::SSLeay. Mixing and matching compilers is not supported.

论坛徽章:
0
2 [报告]
发表于 2011-08-28 11:38 |只看该作者
这个我好像也遇到过,是不是 64-bit 的机器?

论坛徽章:
0
3 [报告]
发表于 2011-08-28 11:54 |只看该作者
这个我好像也遇到过,是不是 64-bit 的机器?
Kitaisky 发表于 2011-08-28 11:38


Debian 32位的系统呀

论坛徽章:
0
4 [报告]
发表于 2011-08-28 12:03 |只看该作者
回复 3# genieliu

我的意思是:机器本身的 processor 是不是 64位的...而你装了32位的系统;这样的话 SSLeay 是有问题

我上次的问题就出在这里,需要在 compile 时改动 cflag, 但具体是哪项,我的确忘记了,不好意思~~

论坛徽章:
0
5 [报告]
发表于 2011-08-28 12:30 |只看该作者
回复  genieliu

我的意思是:机器本身的 processor 是不是 64位的...而你装了32位的系统;这样的话 SSL ...
Kitaisky 发表于 2011-08-28 12:03


哦,确实是64位的cpu...没想到装个SSL还要这么纠结。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP