Error while runing make test in Crypt-SSLeay and Net_SSLeay

Error while runing make test in Crypt-SSLeay and Net_SSLeay

am 20.12.2005 11:01:00 von gopinath.mathivanan

--=_alternative 00377750652570DD_=
Content-Type: text/plain; charset="US-ASCII"

Hi,
I am trying to install Crypt-SSLeay-0.51 library to support HTTPS. When I
am trying to run make test I am getting error message. I have pasted out
put of perl Makefile.PL , make, make test. Can you please help me to
resolve this problem.


Perl version used : 5.8.7
Operating system : AIX
Oslevel :4.3.3.0
OpenSSL version :openssl-0.9.8a
Compiler : ibmcxx




pncbetest:root:/tmpmpp/perl/Crypt-SSLeay-0.51>perl Makefile.PL
Found OpenSSL (version OpenSSL 0.9.8) installed at /usr/local/ssl
Which OpenSSL build path do you want to link against? [/usr/local/ssl]

================================================
BUILD INFORMATION
================================================

ssl dir: /usr/local/ssl
libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir: /usr/local/ssl/include
ssl header: openssl/ssl.h
ssl candidate: /usr/local/ssl; /usr/local/ssl/include/openssl; OpenSSL
0.9.8

================================================

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
pncbetest:root:/tmpmpp/perl/Crypt-SSLeay-0.51>



pncbetest:root:/tmpmpp/perl/Crypt-SSLeay-0.51>make
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/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.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/Err.pm blib/lib/Crypt/SSLeay/Err.pm
/usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" =>
"Crypt
::SSLeay", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp -typemap
/usr/
local/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap SSLeay.xs >
SSLeay.xsc
&& mv SSLeay.xsc SSLeay.c
cc -c -I/usr/local/ssl/include -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX
_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include
-q32
-D_LARGE_FILES -qlonglong -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\"
"-I/usr
/local/lib/perl5/5.8.7/aix/CORE" SSLeay.c
"/usr/local/ssl/include/openssl/bio.h", line 680.9: 1506-236 (W) Macro
name __at
tribute__ has been redefined.
"/usr/local/ssl/include/openssl/bio.h", line 680.9: 1506-358 (I)
"__attribute__"
is defined on line 3804 of /usr/local/lib/perl5/5.8.7/aix/CORE/perl.h.
Running Mkbootstrap for Crypt::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.so
LD_RUN_PATH="" ld -bhalt:4 -bexpall -G -bnoentry -lc
-L/usr/local/lib S
SLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.so -L/usr/local/ssl/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/Crypt::SSLeay.3
pncbetest:root:/tmpmpp/perl/Crypt-SSLeay-0.51>






pncbetest:root:/tmpmpp/perl/Crypt-SSLeay-0.51>make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_har
ness(0, 'blib/lib', 'blib/arch')" t/*.t
t/net_ssl........dubious
Test returned status -1 (wstat 139, 0x8b)
t/ssl_context....dubious
Test returned status -1 (wstat 139, 0x8b)
FAILED--2 test scripts could be run, alas--no output ever seen
make: 1254-004 The error code from the last command is 255.


Stop.
pncbetest:root:/tmpmpp/perl/Crypt-SSLeay-0.51>

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



pncbetest:root:/tmpmpp/perl/Net_SSLeay.pm-1.25>make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..20
ok 1
Testing pointer to int casting...
ok 2
### Making self signed certificate just for these tests...
certificate done.

*** not ok 3

*** not ok 4

Spawning a TCP test server on port 1211, pid=56012...
*** not ok 5tcp

Spawning a SSL test server on port 1212, pid=45418...
*** not ok 5

*** not ok 6

*** not ok 7

*** not ok 8

*** not ok 9

Sending 1 MB over localhost, may take a while (and some VM)...
...took 1 secs (1024 KB/s)
*** not ok 10

*** not ok 11

Sending 1 MB over pipes, may take a while (and some VM)...
...took 1 secs (1024 KB/s)
*** not ok 12

ok 13
Now about to contact external sites...
www.bacus.pt
www.cdw.com
banking.wellsfargo.com
secure.worldgaming.net
www.ubs.com
You have 5 seconds of time to hit Ctrl-C if you do not like this.
*** 11 tests failed already.
Following tests _will_ fail if you do not have network
connectivity (or if the servers are down or have changed).
ok 14 www.bacus.pt
Trying www.cdw.com...
ok 15 www.cdw.com (Microsoft-IIS/6.0)
Trying banking.wellsfargo.com...
ok 16 banking.wellsfargo.com (KONICHIWA/1.0)
Trying secure.worldgaming.net...
ok 17 secure.worldgaming.net (Apache/1.3.24 (Unix) mod_ssl/2.8.8
OpenSSL/0.9.6c)
Trying www.ubs.com...
ok 18 www.ubs.com (Apache)
*** WARNING: There were 11 errors in the tests.
make: 1254-004 The error code from the last command is 255.


Stop.
pncbetest:root:/tmpmpp/perl/Net_SSLeay.pm-1.25>


Regards,
Gopinath Mathivanan

IBM Global Services India Pvt. Ltd
Seat No - SA-C - 2* -250 , 2nd Floor,C Block.
Ext :71472 / DID: 51771472
Internet/ Sametime : gopinath.mathivanan@in.ibm.com
--=_alternative 00377750652570DD_=--