Chinaunix首页 | 论坛 | 博客
  • 博客访问: 175662
  • 博文数量: 159
  • 博客积分: 7007
  • 博客等级: 准将
  • 技术积分: 1750
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-17 15:05
文章分类

全部博文(159)

文章存档

2010年(39)

2009年(106)

2008年(14)

我的朋友

分类:

2010-06-22 10:24:57


[root@gamester88 test]# cpan Crypt::SSLeay

CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Tue, 22 Jun 2010 01:32:36 GMT
Running install for module 'Crypt::SSLeay'
CPAN: YAML loaded ok (v0.71)
Running make for D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.02)
Checksum for /root/.cpan/sources/authors/id/D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz ok
Crypt-SSLeay-0.57
Crypt-SSLeay-0.57/t
Crypt-SSLeay-0.57/Changes
Crypt-SSLeay-0.57/lib
Crypt-SSLeay-0.57/certs
Crypt-SSLeay-0.57/MANIFEST
Crypt-SSLeay-0.57/TODO
Crypt-SSLeay-0.57/typemap
Crypt-SSLeay-0.57/MANIFEST.SKIP
Crypt-SSLeay-0.57/eg
Crypt-SSLeay-0.57/SSLeay.pm
Crypt-SSLeay-0.57/SSLeay.xs
Crypt-SSLeay-0.57/README
Crypt-SSLeay-0.57/Makefile.PL
Crypt-SSLeay-0.57/META.yml
Crypt-SSLeay-0.57/eg/lwp-ssl-test
Crypt-SSLeay-0.57/eg/net-ssl-test
Crypt-SSLeay-0.57/certs/ca-bundle.crt
Crypt-SSLeay-0.57/certs/notacakeynopass.pem
Crypt-SSLeay-0.57/certs/notacacert.pem
Crypt-SSLeay-0.57/lib/Crypt
Crypt-SSLeay-0.57/lib/Net
Crypt-SSLeay-0.57/lib/Net/SSL.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/MainContext.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/Conn.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/X509.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/Err.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/CTX.pm
Crypt-SSLeay-0.57/t/00-basic.t
Crypt-SSLeay-0.57/t/02-live.t
Crypt-SSLeay-0.57/t/01-connect.t
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz

Use of uninitialized value in concatenation (.) or string at Makefile.PL line 94.
=======================================================
Only one installation found at /usr
Consider running 'perl Makefile.PL --default' the next
time Crypt::SSLeay is upgraded to select this directory
automatically thereby avoiding the following prompt.
=======================================================
Which SSL install path do you want to use? [/usr]
Use of uninitialized value in string ne at Makefile.PL line 184, <STDIN> line 1.
Use of uninitialized value in string eq at Makefile.PL line 222, <STDIN> line 1.
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 237, <STDIN> line 1.
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 237, <STDIN> line 1.

BUILD INFORMATION
================================================
ssl library: in /usr
ssl header: openssl/ssl.h
libraries: -L/usr/lib -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir: -I/usr/include/openssl


================================================
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgcc
Note (probably harmless): No library found for -lRSAglue
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 271.
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 271.
The test suite can attempt to connect to public servers
to ensure that the code is working properly. If you are
behind a strict firewall or have no network connectivity,
these tests may fail (through no fault of the code).

Do you want to run the live tests (y/N) ? [N]
cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm
cp lib/Net/SSL.pm blib/lib/Net/SSL.pm
cp SSLeay.pm blib/lib/Crypt/SSLeay.pm
cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm
cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm
cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm
cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
gcc -c -I/usr/include/openssl -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" -fPIC "-I/usr/lib/perl5/CORE" SSLeay.c
SSLeay.c: 在函数‘XS_Crypt__SSLeay__CTX_new’中:
SSLeay.c:169: 警告:未使用的变量‘packname’
SSLeay.c: 在函数‘XS_Crypt__SSLeay__Conn_new’中:
SSLeay.c:478: 警告:未使用的变量‘packname’
SSLeay.c: 在函数‘XS_Crypt__SSLeay__CTX_use_pkcs12_file’中:
SSLeay.c:358: 警告:此函数中的‘RETVAL’在使用前可能未初始化
SSLeay.c:358: 附注:‘RETVAL’的上一个声明在此
Running Mkbootstrap for Crypt::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -L/usr/local/lib SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.so     \
     -L/usr/lib -lssl -lcrypto     \
    
chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.so
cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs
chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs
Manifying blib/man3/Net::SSL.3pm
Manifying blib/man3/Crypt::SSLeay.3pm
  DLAND/Crypt-SSLeay-0.57.tar.gz
  /usr/bin/make -- OK
Running 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.t .... ok

t/01-connect.t .. 1/8 

#   Failed test 'Net::SSL->new'

#   at t/01-connect.t line 25.

# Connect failed: connect: 拒绝连接; 拒绝连接 at t/01-connect.t line 11

# Looks like you failed 1 test of 8.

t/01-connect.t .. Dubious, test returned 1 (wstat 256, 0x100)

Failed 1/8 subtests 

(less 7 skipped subtests: 0 okay)

t/02-live.t ..... 1/4 # config on linux

# ssl in /usr

# lib -L/usr/lib -lssl -lcrypto -lgcc -lRSAglue -lrsaref

# inc -I/usr/include/openssl

# cc gcc

t/02-live.t ..... ok   


Test Summary Report

-------------------

t/01-connect.t (Wstat: 256 Tests: 8 Failed: 1)

  Failed test:  1

  Non-zero exit status: 1

Files=3, Tests=24,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.28 cusr  0.07 csys =  0.38 CPU)

Result: FAIL

Failed 1/3 test programs. 1/24 subtests failed.

make: *** [test_dynamic] 错误 255

  DLAND/Crypt-SSLeay-0.57.tar.gz

  /usr/bin/make test -- NOT OK

//hint// to see the cpan-testers results for installing this module, try:

  reports DLAND/Crypt-SSLeay-0.57.tar.gz

Running make install

  make test had returned bad status, won't install without force



[root@gamester88 test]# yum -y install perl-Crypt-SSLeay

已加载插件:presto, refresh-packagekit
设置安装进程
解决依赖关系
--> 执行事务检查
---> 软件包 perl-Crypt-SSLeay.i686 0:0.57-16.fc13 将被 升级
--> 完成依赖关系计算

依赖关系解决

==============================================================================================================================================
 软件包 架构 版本 仓库 大小
==============================================================================================================================================
正在安装:
 perl-Crypt-SSLeay i686 0.57-16.fc13 fedora 139 k

事务概要
==============================================================================================================================================
安装 1 软件包
更新 0 软件包

总下载量:139 k
Installed size: 358 k
下载软件包:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 139 k
perl-Crypt-SSLeay-0.57-16.fc13.i686.rpm | 139 kB 00:01
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
  正在安装 : perl-Crypt-SSLeay-0.57-16.fc13.i686 1/1

已安装:
  perl-Crypt-SSLeay.i686 0:0.57-16.fc13

完毕!
[root@gamester88 test]# cpan Crypt::SSLeay

CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Tue, 22 Jun 2010 01:32:36 GMT
Crypt::SSLeay is up to date (0.57).


阅读(743) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~