----- Original Message -----
Sent: Tuesday, October 10, 2000 10:01
AM
Subject: Crypt::SSLeay
I am installing crypt ssleay in my local
directory
-------------------------------------------------------------------------
sagayam2:~/dump/Crypt-SSLeay-0.17$ perl
Makefile.PL `cat pp.txt`
Found OpenSSL (version OpenSSL 0.6.6.0) 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
========================================
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
sagayam2:~/dump/Crypt-SSLeay-0.17$ make
mkdir
blib
mkdir blib/lib
mkdir blib/lib/Crypt
mkdir blib/arch
mkdir
blib/arch/auto
mkdir blib/arch/auto/Crypt
mkdir
blib/arch/auto/Crypt/SSLeay
mkdir blib/lib/auto
mkdir
blib/lib/auto/Crypt
mkdir blib/lib/auto/Crypt/SSLeay
mkdir
blib/man3
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/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm
cp lib/Net/SSL.pm
blib/lib/Net/SSL.pm
cp lib/Crypt/SSLeay/Err.pm
blib/lib/Crypt/SSLeay/Err.pm
cp SSLeay.pm blib/lib/Crypt/SSLeay.pm
cp
lib/Crypt/SSLeay/MainContext.pm
blib/lib/Crypt/SSLeay/MainContext.pm
/usr/bin/perl
-I/usr/lib/perl5/i386-linux -I/usr/lib/perl5
/usr/lib/perl5/ExtUtils/xsubpp -typemap /usr/lib/perl5/ExtUtils/typemap
-typemap typemap SSLeay.xs >xstmp.c && mv xstmp.c SSLeay.c
gcc
-c -I/usr/local/ssl/include -Dbool=char -DHAS_BOOL -I/usr/local/include
-O2 -DVERSION=\"0.17\" -DXS_VERSION=\"0.17\" -fpic
-I/usr/lib/perl5/i386-linux/CORE SSLeay.c
Running Mkbootstrap for
Crypt::SSLeay ()
chmod 644 SSLeay.bs
LD_RUN_PATH="/usr/local/ssl/lib"
gcc -o blib/arch/auto/Crypt/SSLeay/SSLeay.so -shared
SSLeay.o -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
sagayam2:~/dump/Crypt-SSLeay-0.17$ make
test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/i386-linux -I/usr/lib/perl5 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/ssl_context.......ok
All tests successful.
Files=1,
Tests=1, 0 wallclock secs ( 0.02 cusr + 0.02 csys = 0.04
CPU)
sagayam2:~/dump/Crypt-SSLeay-0.17$ make install
Installing
/home/sagayam2/local/lib/perl5/site_perl/auto/Crypt/SSLeay/SSLeay.so
Installing
/home/sagayam2/local/lib/perl5/site_perl/auto/Crypt/SSLeay/SSLeay.bs
Files
found in blib/arch --> Installing files in blib/lib into architecture
dependend library tree!
Installing
/home/sagayam2/local/lib/perl5/site_perl/Crypt/SSLeay/Conn.pm
Installing
/home/sagayam2/local/lib/perl5/site_perl/Crypt/SSLeay/X509.pm
Installing
/home/sagayam2/local/lib/perl5/site_perl/Crypt/SSLeay/CTX.pm
Installing
/home/sagayam2/local/lib/perl5/site_perl/Crypt/SSLeay/Err.pm
Installing
/home/sagayam2/local/lib/perl5/site_perl/Crypt/SSLeay/MainContext.pm
Installing
/home/sagayam2/local/lib/perl5/site_perl/Crypt/SSLeay.pm
Installing
/home/sagayam2/local/lib/perl5/site_perl/Net/SSL.pm
Installing
/home/sagayam2/local/lib/perl5/man/man3/Crypt::SSLeay.3
Writing
/home/sagayam2/local/lib/perl5/site_perl/auto/Crypt/SSLeay/.packlist
Appending
installation info to
/home/sagayam2/local/lib/perl5/perllocal.pod
sagayam2:~/dump/Crypt-SSLeay-0.17$
content of pp.txt
PREFIX=/home/sagayam2/local
\
INSTALLPRIVLIB=/home/sagayam2/local/lib/perl5
\
INSTALLSCRIPT=/home/sagayam2/local/bin
\
INSTALLSITELIB=/home/sagayam2/local/lib/perl5/site_perl
\
INSTALLBIN=/home/sagayam2/local/bin
\
INSTALLMAN1DIR=/home/sagayam2/local/lib/perl5/man
\
INSTALLMAN3DIR=/home/sagayam2/local/lib/perl5/man/man3
but when I use libwww in my perl script to access
https it does NOT work
I have used the same script in another server and
it works great for accessing https urls.
I am having the following lines in front of my
script
use lib qw
(/home/sagayam2/local/lib/perl5/site_perl/
/home/sagayam2/local/lib/perl5/
/home/sagayam2/local/lib/perl5/site_perl/i386-linux/);
please note I am able to access http url using
the SAME script fine
If I use https it doesnt work
help
chris