develooper Front page | perl.libwww | Postings from December 2003

[Crypt::SSLeay] compile problems on Solaris

From:
Eccentric
Date:
December 2, 2003 04:20
Subject:
[Crypt::SSLeay] compile problems on Solaris
Message ID:
010301c3b8cb$002b1080$3e0010ac@Lazarusalliance.com
I have not been successful in building this module on X86 Solaris 9. I
linked these two libraries which helped the configure. It looks like I have
a gcc|cc problem. Any suggestions would be appreciated.

ln -s /usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.3/libgcc.a
/usr/lib/libgcc.a
ln -s /opt/software/openssl-engine-0.9.6j/libRSAglue.a /usr/lib/libRSAglue.a

# perl Makefile.PL
Found OpenSSL (version OpenSSL 0.9.6) 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.6

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

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay

# make
cp lib/Net/SSL.pm blib/lib/Net/SSL.pm
cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm
cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.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/X509.pm blib/lib/Crypt/SSLeay/X509.pm
cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm
/usr/bin/perl -I/usr/perl5/5.6.1/lib/i86pc-solaris-64int -I/usr/perl5/5.6.1/
lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp  -typemap
/usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap SSLeay.xs >
SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -I/usr/local/ssl/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -x
O3 -xdepend   -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" -KPIC -I/usr/perl5/5.
6.1/lib/i86pc-solaris-64int/CORE  SSLeay.c
make: cc: Command not found
make: *** [SSLeay.o] Error 127
#

Best regards,

Michael D. Peters
Director of Security Services
Lazarus Alliance Inc.
M: 502-767-3448
O: 502-231-8017
H: 502-231-6923
F: 502-231-5347

michael.peters@lazarusalliance.com
www.lazarusalliance.com




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About