[Crypt::SSLeay] compile problems on AIX 5.2
am 11.05.2005 03:57:19 von paul_askewI get to make test, and the package fails with errors. I piped the
output and errors to a file and pasted in here. Sorry if everything is
back to front.
AIX 5.2
Perl 5.8.6 - aix-64all
OpenSSL 0.9.7 - Latest Build from openssl.org (installed successfully)
Makefile.PL:
================================================
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.7
================================================
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
make 2>> /list >> /list:
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/local/bin/perl -e 'use ExtUtils::Mksymlists;
Mksymlists("NAME" =>
"Crypt::SSLeay", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" =>
[]);'
/usr/local/bin/perl /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp
-typemap
/usr/local/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap SSLeay.xs
> SSLeay.xsc && mv SSLeay.xsc
SSLeay.c
gcc -c -I/usr/local/ssl/include -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSI
X_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe
-I/usr/local/include -ma
ix64 -DUSE_64_BIT_ALL -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\"
"-I/usr/loc
al/lib/perl5/5.8.6/aix-64all/CORE"
SSLeay.c
SSLeay.xs: In function
`XS_Crypt__SSLeay__Conn_new':
SSLeay.xs:252: warning: passing arg 2 of `SSL_set_info_callback' from
incompatible pointer
type
Running Mkbootstrap for Crypt::SSLeay
()
chmod 644
SSLeay.bs
rm -f
blib/arch/auto/Crypt/SSLeay/SSLeay.so
rm -f
blib/arch/auto/Crypt/SSLeay/SSLeay.so
gcc -maix64 -Wl,-b64 -Wl,-bhalt:4 -Wl,-bexpall -Wl,-G
-Wl,-bnoentry -lc
-L/usr/local/lib SSLeay.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
make test >> /list 2>> /list
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM"
"-e" "te
st_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/net_ssl........Can't load
'/.cpan/build/Crypt-SSLeay-0.51/blib/arch/auto/Crypt
/SSLeay/SSLeay.so' for module Crypt::SSLeay: A file or directory in the
path nam
e does not exist. at /usr/local/lib/perl5/5.8.6/aix-64all/DynaLoader.pm
line 230
..
at lib/Net/SSL.pm line
16
Compilation failed in require at lib/Net/SSL.pm line
16.
Compilation failed in require at t/net_ssl.t line
5.
BEGIN failed--compilation aborted at t/net_ssl.t line
5.
dubious
Test returned status 255 (wstat 65280,
0xff00)
t/ssl_context....Can't load
'/.cpan/build/Crypt-SSLeay-0.51/blib/arch/auto/Crypt
/SSLeay/SSLeay.so' for module Crypt::SSLeay: A file or directory in the
path nam
e does not exist. at /usr/local/lib/perl5/5.8.6/aix-64all/DynaLoader.pm
line 230
..
at /.cpan/build/Crypt-SSLeay-0.51/blib/lib/Crypt/SSLeay/CTX.pm line
2
Compilation failed in require at
/.cpan/build/Crypt-SSLeay-0.51/blib/lib/Crypt/S
SLeay/CTX.pm line
2.
Compilation failed in require at
/.cpan/build/Crypt-SSLeay-0.51/blib/lib/Crypt/S
SLeay/MainContext.pm line
8.
Compilation failed in require at t/ssl_context.t line
3.
BEGIN failed--compilation aborted at t/ssl_context.t line
3.
dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--2 test scripts could be run, alas--no output ever seen
make: 1254-004 The error code from the last command is 2.
Stop.