On Mon Jul 23 14:26:14 2007, info@gknw.de wrote:
Show quoted text> Hi David,
Hi Guenter, thanks for your work. I'm looking at this patch right now.
Show quoted text> while testing the Win32 MSVC / ActivePerl build I found another
> serious problem;
> when I try a https connection via LWP I get:
> Free to wrong pool 223f30 not 30c01a0 at
> C:/Perl/site/lib/LWP/Protocol/https.pm line 34.
erk.
Show quoted text> this happens because of a wrong define for CRYPT_SSLEAY_free;
> the detection of version 0.9.6 and later fails because of line 221:
> if(($openssl_version =~ /^OpenSSL/) and ($openssl_version !~
> /0\.9\.[2-5]/)) {
> the first test for ^OpenSSL always fails because $openssl_version
> contains only the dotted version number, and not the string 'OpenSSL';
> therefore I simplyfied the line to:
> if($pkg_config->{ver} !~ /0\.9\.[2-5]/) {
> which works now fine...(I directly used $pkg_config->{ver}, and
> removed $openssl_version because its not further used).
Right. I think this must have always been there, or else I messed things
up in a refactoring a while back. I have taken your idea and expanded
it, in order to take account the possibility of the libssleay library
being used, and also future-proofing the test so that it doesn't stop
working if OpenSSL v1.0 is ever released.
Show quoted text> Finally I've now also added another option --nwtests=y|1 so that its
> possible to avoid that Makefile.PL stops for an input; this is
> important for automatic builds like ActiveState might do....
Thanks for the idea, but I won't include this in the distribution. The
correct way of dealing with this is to say
set PERL_USE_MM_DEFAULT=1
perl Makefile.PL
This is documented in the README and the POD.
Show quoted text> here's my new unified diff against Makefile.PL from Crypt-SSLeay-0.56
> (also attached):
[...]
Show quoted text> @@ -287,8 +295,8 @@
> my $inc_dir;
> my $version_file;
> for (
> - "$dir/crypto/opensslv.h", # cygwin32 builds
> "$dir/inc32/openssl/opensslv.h", # old win32 builds
> + "$dir/crypto/opensslv.h", # cygwin32 builds
> "$dir/include/openssl/opensslv.h",
> "$dir/include/opensslv.h",
> "$dir/include/crypto.h"
I have included this change.
Thanks,
David