Hodwy,

So off-and-on for the last few months, I've been trying to get
Crypt::SSLeay to install on my OS X G5.

Every time, both of its tests fail; running them manually results in a
"Bus error."  The same actually happens on my PowerBook G4, too.

I've tried building against both the stock OS X OpenSSL 0.9.7 and a
freshly compiled 0.9.7i.  Running Perl 5.8.8 (perl -V at the end of the
email).  Below the perl -V output is the result of 'perl -MCPAN -e"install
'Crypt::SSLeay'"'

If any of you kind souls has run into this problem before, I'd hugely
appreciate your help.  Google has, sadly, been less than useful so far.

If it matters, I also tried installing IO::Socket::SSL, which dies in
'make test' with "Can't locate object method "issuer_name" via package
"IO::Socket::INET" at t/compatibility.t line 49."

  -Mike

---

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=darwin, osvers=8.5.0, archname=darwin-2level
    uname='darwin strong.local 8.5.0 darwin kernel version 8.5.0: sun jan
22 10:38:46 pst 2006; root:xnu-792.6.61.obj~1release_ppc power macintosh
powerpc '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/opt/local/include',
    optimize='-O3',
    cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/opt/local/include'
    ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5247)',
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',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib
-L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lc
    perllibs=-ldl -lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false,
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
  Built under darwin
  Compiled at Apr  1 2006 23:39:35
  @INC:
    /usr/local/lib/perl5/5.8.8/darwin-2level
    /usr/local/lib/perl5/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl
    .


----

strong:~ mbertsch$ sudo perl -MCPAN -e"install 'Crypt::SSLeay'"
Password:
CPAN: Storable loaded ok
Going to read /usr/local/cpan/Metadata
  Database was generated on Wed, 19 Apr 2006 18:46:20 GMT
Running install for module Crypt::SSLeay
Running make for C/CH/CHAMAS/Crypt-SSLeay-0.51.tar.gz
CPAN: Digest::SHA loaded ok
CPAN: Module::Signature loaded ok
Cannot use GnuPG or Crypt::OpenPGP, please install either one first!
Signature for /usr/local/cpan/sources/authors/id/C/CH/CHAMAS/CHECKSUMS ok
CPAN: Compress::Zlib loaded ok
Checksum for
/usr/local/cpan/sources/authors/id/C/CH/CHAMAS/Crypt-SSLeay-0.51.tar.gz ok
Scanning cache /usr/local/cpan/build for sizes
Crypt-SSLeay-0.51/
Crypt-SSLeay-0.51/t/
Crypt-SSLeay-0.51/t/net_ssl.t
Crypt-SSLeay-0.51/t/ssl_context.t
Crypt-SSLeay-0.51/lib/
Crypt-SSLeay-0.51/lib/Crypt/
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/MainContext.pm
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/Conn.pm
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/X509.pm
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/Err.pm
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/CTX.pm
Crypt-SSLeay-0.51/lib/Net/
Crypt-SSLeay-0.51/lib/Net/SSL.pm
Crypt-SSLeay-0.51/certs/
Crypt-SSLeay-0.51/certs/ca-bundle.crt
Crypt-SSLeay-0.51/certs/notacakeynopass.pem
Crypt-SSLeay-0.51/certs/notacacert.pem
Crypt-SSLeay-0.51/MANIFEST
Crypt-SSLeay-0.51/typemap
Crypt-SSLeay-0.51/MANIFEST.SKIP
Crypt-SSLeay-0.51/SSLeay.pm
Crypt-SSLeay-0.51/CHANGES
Crypt-SSLeay-0.51/lwp-ssl-test
Crypt-SSLeay-0.51/net_ssl_test
Crypt-SSLeay-0.51/SSLeay.xs
Crypt-SSLeay-0.51/README
Crypt-SSLeay-0.51/Makefile.PL
Removing previously used /usr/local/cpan/build/Crypt-SSLeay-0.51
Package came without SIGNATURE


  CPAN.pm: Going to build C/CH/CHAMAS/Crypt-SSLeay-0.51.tar.gz

Found the following OpenSSL installations:
        OpenSSL 0.9.7   /usr/local/ssl
        OpenSSL 0.9.7   /usr
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.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
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/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  SSLeay.xs >
SSLeay.xsc && mv SSLeay.xsc SSLeay.c
gcc -c  -I/usr/local/ssl/include -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/opt/local/include -O3   -DVERSION=\"0.51\"
-DXS_VERSION=\"0.51\"  "-I/usr/local/lib/perl5/5.8.8/darwin-2level/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.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib SSLeay.o  -o
blib/arch/auto/Crypt/SSLeay/SSLeay.bundle   \
   -L/usr/local/ssl/lib -lssl -lcrypto          \

chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.bundle
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
  /usr/bin/make  -- OK
Running 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 10, 0xa)
t/ssl_context....dubious
        Test returned status 0 (wstat 10, 0xa)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to