From: Jeremy A. <je...@az...> - 2000-11-29 03:21:20
|
This isn't REALLY a Net::LDAP problem (the problem is down in IO::Socket::SSL and SSLeay), but the support for these modules seems to be near-zero, and I figure that someone who's working on Net::LDAP should have seen this before. More notes are at the bottom. -------------------------------------------------------------------------- [root@foobar Net_SSLeay.pm-1.05]# perl Makefile.PL Checking for OpenSSL-0.9.3a or newer... You have OpenSSL-0.9.6 installed in /usr/local/ssl That's is newer than what this module was tested with (0.9.3a). You should consider checking if there is a newer release of this module available. Everything will probably work OK, though. Checking if your kit is complete... Looks good Writing Makefile for Net::SSLeay [root@foobar Net_SSLeay.pm-1.05]# make mkdir blib mkdir blib/lib mkdir blib/lib/Net mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/Net mkdir blib/arch/auto/Net/SSLeay mkdir blib/lib/auto mkdir blib/lib/auto/Net mkdir blib/lib/auto/Net/SSLeay mkdir blib/man3 cp SSLeay.pm blib/lib/Net/SSLeay.pm AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Net/SSLeay: ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ /usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 /usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.00503/ExtUtils/typemap -typemap typemap SSLeay.xs >xstmp.c && mv xstmp.c SSLeay.c cc -c -I/usr/local/ssl/include -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -m486 -fno-strength-reduce -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE SSLeay.c SSLeay.c: In function `XS_Net__SSLeay_get_cipher_list': SSLeay.c:2505: warning: assignment discards `const' from pointer target type SSLeay.c: In function `XS_Net__SSLeay_get_cipher': SSLeay.c:2538: warning: assignment discards `const' from pointer target type Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs LD_RUN_PATH="/usr/local/ssl/lib" cc -o blib/arch/auto/Net/SSLeay/SSLeay.so -shared -L/usr/local/lib SSLeay.o -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs Manifying blib/man3/Net::SSLeay.3 [root@foobar Net_SSLeay.pm-1.05]# make install (note... As you can see, we've been through this before) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/SSLeay.so (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/SSLeay.bs (unchanged) Files found in blib/arch --> Installing files in blib/lib into architecture dependend library tree! Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/Net/SSLeay.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/open_tcp_connection.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/ssl_read_all.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/ssl_write_all.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/ssl_read_until.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/ssl_read_CRLF.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/ssl_write_CRLF.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/dump_peer_certificate.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/randomize.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/sslcat.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/https_cat.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/set_server_cert_and_key.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/make_form.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/make_headers.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/do_https.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/get_https.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/post_https.al (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/autosplit.ix (unchanged) Skipping /usr/lib/perl5/man/man3/Net::SSLeay.3 (unchanged) Writing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Net/SSLeay/.packlist Appending installation info to /usr/lib/perl5/5.00503/i386-linux/perllocal.pod [root@foobar Net_SSLeay.pm-1.05]# cd ../IO-Socket-SSL-0.75 [root@foobar IO-Socket-SSL-0.75]# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for IO::Socket::SSL [root@foobar IO-Socket-SSL-0.75]# make mkdir blib mkdir blib/lib mkdir blib/lib/IO mkdir blib/lib/IO/Socket mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/IO mkdir blib/arch/auto/IO/Socket mkdir blib/arch/auto/IO/Socket/SSL mkdir blib/lib/auto mkdir blib/lib/auto/IO mkdir blib/lib/auto/IO/Socket mkdir blib/lib/auto/IO/Socket/SSL mkdir blib/man3 cp lib/IO/Socket/SSL.pm blib/lib/IO/Socket/SSL.pm Manifying blib/man3/IO::Socket::SSL.3 [root@foobar IO-Socket-SSL-0.75]# make test PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/fh-test...........Use of uninitialized value at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/randomize.al) line 1159. Use of uninitialized value at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/randomize.al) line 1163. ok t/lwptest...........Use of uninitialized value at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/randomize.al) line 1159. Use of uninitialized value at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/randomize.al) line 1163. request 1: failed: 'Protocol scheme 'https' is not supported'. FAILED tests 1-2 Failed 2/3 tests, 33.33% okay t/test1.............Use of uninitialized value at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/randomize.al) line 1159. Use of uninitialized value at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/randomize.al) line 1163. ok PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/fh-test...........Use of uninitialized value at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/randomize.al) line 1159. Use of uninitialized value at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/randomize.al) line 1163. make: *** [test_dynamic] Interrupt [root@foobar IO-Socket-SSL-0.75]# -------------------------------------------------------------------------- * I compiled and installed OpenSSL-0.9.6 (as the build data below indicates). Because I suspected that this was the source of our problems, I downgraded to OpenSSL-0.9.3a. No change whatsoever. Has anyone seen this problem before? Is there a workaround? I have seen some mention on the mailing list about StartTLS (which seems to be another way of getting from a to b), but I'm not clear as to how to code for this. Both the documentation and the Net::LDAP code seem to be mute on the subject. Best Regards, j. |