| Heiko Jansen 2006-03-29, 8:06 am |
| James Tullett wrote:
> Could somebody suggest something to help me get past this problem?
sorry, no, but I hope someone else can, because I have the same problem here!
########################################
#########
###~/.cpan/build/Crypt-SSLeay-0.51> perl Makefile.PL
Found OpenSSL (version OpenSSL 0.9.8) installed at /digibib/tools
Which OpenSSL build path do you want to link against? [/digibib/tools]
========================================
========
BUILD INFORMATION
========================================
========
ssl dir: /digibib/tools
libraries: -lpthread -lssl -lcrypto
include dir: /digibib/tools/include
ssl header: openssl/ssl.h
ssl candidate: /digibib/tools; /digibib/tools/include/openssl; OpenSSL 0.9.8
========================================
========
Checking if your kit is complete...
Looks good
Writing Makefile for Crypt::SSLeay
########################################
#########
###~/.cpan/build/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
/digibib/tools/bin/perl /digibib/tools/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /digibib/tools/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
gcc -c -I/digibib/tools/include -D_REENTRANT -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" -fPIC "-I/digibib/tools/lib/perl5/5.8.8
/sun4-solaris-thread-multi/CORE" SSLeay.c
SSLeay.xs: In function 'XS_Crypt__SSLeay__Conn_new':
SSLeay.xs:252: warning: passing argument 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="/digibib/tools/lib" gcc -Wl,-E -G SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.so \
-L/digibib/tools/lib -lpthread -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
########################################
#########
###~/.cpan/build/Crypt-SSLeay-0.51> make test
PERL_DL_NONLAZY=1 /digibib/tools/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
########################################
#########
###~/.cpan/build/Crypt-SSLeay-0.51> uname -a
SunOS priapos 5.10 Generic_118822-27 sun4u sparc SUNW,Sun-Fire-V440 Solaris
########################################
#########
###~/.cpan/build/Crypt-SSLeay-0.51> gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ./configure --prefix=/digibib/tools
Thread model: posix
gcc version 4.1.0
########################################
#########
###~/.cpan/build/Crypt-SSLeay-0.51> perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi
uname='sunos priapos 5.10 generic_118822-27 sun4u sparc sunw,sun-fire-v440 solaris '
config_args='-DCC=gcc -Dusethreads -Duseshrplib -Doptimize=-O2 -Uusemymalloc'
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=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
optimize='-O2',
cppflags='-D_REENTRANT -fno-strict-aliasing -pipe -Wdeclaration-after-statement'
ccversion='', gccversion='4.1.0', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', ls size=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' '
libpth=/digibib/tools/lib /usr/lib /usr/ccs/lib
libs=-lpthread -lsocket -lnsl -ldl -lm -lc
perllibs=-lpthread -lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E -R /digibib/tools/lib/perl5/5.8.8/sun4-solaris-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags=' -Wl,-E -G'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_REENTRANT_API
Built under solaris
Compiled at Mar 9 2006 17:05:05
@INC:
/digibib/tools/lib/perl5/5.8.8/sun4-solaris-thread-multi
/digibib/tools/lib/perl5/5.8.8
/digibib/tools/lib/perl5/site_perl/5.8.8/sun4-solaris-thread-multi
/digibib/tools/lib/perl5/site_perl/5.8.8
/digibib/tools/lib/perl5/site_perl
|