[Crypt::SSLeay] compile problems on Solaris

[Crypt::SSLeay] compile problems on Solaris

am 13.09.2006 11:03:40 von esserm

--=_alternative 0031C4F2882571E8_=
Content-Type: text/plain; charset="US-ASCII"

Hello,

I am stuck with make test problems on Solaris...

make reports:

gcc -c -I/usr/local/openssl64/include -D_REENTRANT -mcpu=v9 -m64
-Wa,-xarch=v9 -m64 -mcpu=v9 -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O
-DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" -fPIC
"-I/usr/local/lib/perl5/5.8.8/sun4-solaris-thread-multi-64/C ORE" 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
LD_RUN_PATH="/usr/local/openssl64/lib" gcc -G -m64 -L/usr/lib/sparcv9
-L/usr/local/lib SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.so \
-L/usr/local/openssl64/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 reports:

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/net_ssl........dubious
Test returned status 0 (wstat 139, 0x8b)
t/ssl_context....dubious
Test returned status 0 (wstat 139, 0x8b)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255
[buffytcp][root@l10154wbd005]/.cpan/build/Crypt-SSLeay-0.51- >make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/net_ssl........dubious
Test returned status 0 (wstat 139, 0x8b)
t/ssl_context....dubious
Test returned status 0 (wstat 139, 0x8b)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255


I am using gcc 3.3.2 and a 64-bit version of openssl0.9.8b which passes
all post-compile tests. I have tried switching gcc for ld, and googled for
the problem, but am unable to find a solution. This is on Solaris 10.

perl -V:

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi-64
uname='sunos l10154wbd005.web.att.com 5.10 generic_118833-03 sun4u
sparc sunw,sun-fire-880 '
config_args='-Duse64bitall -Duseithreads -Dusethreads
-Dusemultiplicity -Dcc=gcc -Accflags=-m64 -mcpu=v9'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -mcpu=v9 -m64 -Wa,-xarch=v9 -m64
-mcpu=v9 -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV',
optimize='-O',
cppflags='-D_REENTRANT -mcpu=v9 -m64 -Wa,-xarch=v9 -m64 -mcpu=v9
-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3.2', gccosandvers='solaris2.10'
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -m64 -L/usr/lib/sparcv9 -L/usr/local/lib '
libpth=/usr/lib/sparcv9 /usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false,
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags=' -G -m64 -L/usr/lib/sparcv9
-L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Built under solaris
Compiled at Jun 28 2006 00:10:10
@INC:
/usr/local/lib/perl5/5.8.8/sun4-solaris-thread-multi-64
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris-thread-mul ti-64
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.




PLEASE HELP!!! THANKS!!!!


Marc Esser
IBM Global Services

--=_alternative 0031C4F2882571E8_=--