Skip Menu |

This queue is for tickets about the Crypt-SSLeay CPAN distribution.

Report information
The Basics
Id: 27935
Status: resolved
Priority: 1/
Queue: Crypt-SSLeay

People
Owner: dland [...] cpan.org
Requestors: JARIAALTO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.55
Fixed in: 0.56



Unable to install Crypt-SSLeay-0.55 under Debian/testing. See log below. cpan[1]> install Crypt::SSLeay CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Tue, 03 Jul 2007 08:50:22 GMT Running install for module Crypt::SSLeay Running make for D/DL/DLAND/Crypt-SSLeay-0.55.tar.gz CPAN: Digest::SHA loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/D/DL/DLAND/Crypt-SSLeay-0.55.tar.gz\ ok Scanning cache /root/.cpan/build for sizes Crypt-SSLeay-0.55 Crypt-SSLeay-0.55/t Crypt-SSLeay-0.55/Changes Crypt-SSLeay-0.55/lib Crypt-SSLeay-0.55/certs Crypt-SSLeay-0.55/MANIFEST Crypt-SSLeay-0.55/TODO Crypt-SSLeay-0.55/typemap Crypt-SSLeay-0.55/MANIFEST.SKIP Crypt-SSLeay-0.55/eg Crypt-SSLeay-0.55/SSLeay.pm ... CPAN.pm: Going to build D/DL/DLAND/Crypt-SSLeay-0.55.tar.gz Skipping testcover target, ExtUtils::MakeMaker::Coverage not found ======================================================================== No installed SSL libraries found in any of the following places. /usr/local/openssl /usr/local/ssl /local/ssl /opt/ssl /usr/local /local /usr You will have to either specify a directory location at the following prompt, or rerun the Makefile.PL program and use the --lib switch to specify the path. If the path in question is considered standard on your platform, please consider filing a bug report in order to have it taken into account in a subsequent version of Crypt::SSLeay. Which SSL install path do you want to use? --------------------------------------------------------------- root@bongo ~ dpkg -L openssl | egrep -v '/doc/|/man/' | sort /. /etc /etc/ssl /etc/ssl/certs /etc/ssl/openssl.cnf /etc/ssl/private /usr /usr/bin /usr/bin/c_rehash /usr/bin/openssl /usr/lib /usr/lib/ssl /usr/lib/ssl/certs /usr/lib/ssl/misc /usr/lib/ssl/misc/CA.pl /usr/lib/ssl/misc/CA.sh /usr/lib/ssl/misc/c_hash /usr/lib/ssl/misc/c_info /usr/lib/ssl/misc/c_issuer /usr/lib/ssl/misc/c_name /usr/lib/ssl/openssl.cnf /usr/lib/ssl/private /usr/share /usr/share/doc /usr/share/man
Subject: Please suggest under DEbian: libssl-dev
Hm, the package seem to require the development files, not the binary openssl. Please kindly add this logic: If not found openssl then if this is debian (check existence of /etc/debian_version) then suggest to install package 'openssl-dev'
Subject: Please suggest under Debian: libssl-dev
Hm, the package seem to require the development files, not the binary openssl. Please kindly add this logic: If not found openssl then if this is debian (check existence of /etc/debian_version) then suggest to install package 'libssl-dev'
Subject: Crypt-SSLeay on Debian
From: dland [...] cpan.org
On Tue Jul 03 06:23:12 2007, JARIAALTO wrote: Show quoted text
> Hm, the package seem to require the development files, not the binary > openssl. Please kindly add this logic: > > If not found openssl > then > if this is debian (check existence of /etc/debian_version) > then suggest to install package 'libssl-dev'
So you're saying that in Makefile.PL, when it prepares the installation, it should see if it's running under Debian: my $is_debian = -f '/etc/debian_version'; If that's true, and it discovers that it can't find any appropriate openssl header files, then the error message should say "please consider installing the libssl-dev package". If that's what you mean, then sure, that's easy to do. Please confirm that that's what you meant. Regards, David
Subject: Re: [rt.cpan.org #27935] Crypt-SSLeay on Debian
Date: Fri, 06 Jul 2007 22:47:21 +0300
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: Jari Aalto <jari.aalto [...] cante.net>
"David Landgren via RT" <bug-Crypt-SSLeay@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=27935 > > > On Tue Jul 03 06:23:12 2007, JARIAALTO wrote:
>> Hm, the package seem to require the development files, not the binary >> openssl. Please kindly add this logic: >> >> If not found openssl >> then >> if this is debian (check existence of /etc/debian_version) >> then suggest to install package 'libssl-dev'
> > So you're saying that in Makefile.PL, when it prepares the installation, > it should see if it's running under Debian: > > my $is_debian = -f '/etc/debian_version'; > > If that's true, and it discovers that it can't find any appropriate > openssl header files, then the error message should say "please consider > installing the libssl-dev package". > > If that's what you mean, then sure, that's easy to do. Please confirm > that that's what you meant.
Correct, Thank you for adding the feature. Jari
I have made the following documentation changes based on your suggestion. http://svnweb.mongueurs.net/Crypt-SSLeay/revision/?lang=en&rev=117 http://svnweb.mongueurs.net/Crypt-SSLeay/revision/?lang=en&rev=118 This has been pushed out as version 0.56, soon to reach a CPAN mirror near you. Thanks again for your idea.
Subject: Re: [rt.cpan.org #27935] Crypt-SSLeay on Debian
Date: Thu, 12 Jul 2007 09:40:39 +0300
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: Jari Aalto <jari.aalto [...] cante.net>
"David Landgren via RT" <bug-Crypt-SSLeay@rt.cpan.org> writes: Show quoted text
Thank you for implementing the fix. May I suggest slight change: trunk/Makefile.PL 67 if (-f '/etc/debian_version') { 68 print <<DEBIAN_INFO; => Chnage to: 67 if (-f '/etc/debian_version') { 68 print << "DEBIAN_INFO"; If I remmeber correct, latest Perl (-w) suggests double quoted HERE documents. Thanks, Jari
On Thu Jul 12 02:41:19 2007, jari.aalto@cante.net wrote: Show quoted text
> "David Landgren via RT" <bug-Crypt-SSLeay@rt.cpan.org> writes: >
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27935 > > > > > I have made the following documentation changes based on your
suggestion. Show quoted text
> > Thank you for implementing the fix. May I suggest slight change: > > trunk/Makefile.PL > > 67 if (-f '/etc/debian_version') { > 68 print <<DEBIAN_INFO; > > => Chnage to: > > 67 if (-f '/etc/debian_version') { > 68 print << "DEBIAN_INFO"; > > If I remmeber correct, latest Perl (-w) suggests double quoted HERE > documents.
Mmm, I'm slightly dubious about that, since this admits interpolation. Of course, saying print << 'DEBIAN_INFO' states its purpose more carefully, so I'll do that. I have a number of Win32 improvements to make so I'll be rolling out a new version soon, and I'll make sure this goes in. Thanks, David
On Mon Jul 30 11:09:33 2007, DLAND wrote: Show quoted text
> On Thu Jul 12 02:41:19 2007, jari.aalto@cante.net wrote:
> > "David Landgren via RT" <bug-Crypt-SSLeay@rt.cpan.org> writes: > >
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27935 > > > > > > > I have made the following documentation changes based on your
> suggestion.
> > > > Thank you for implementing the fix. May I suggest slight change: > > > > trunk/Makefile.PL > > > > 67 if (-f '/etc/debian_version') { > > 68 print <<DEBIAN_INFO; > > > > => Chnage to: > > > > 67 if (-f '/etc/debian_version') { > > 68 print << "DEBIAN_INFO"; > > > > If I remmeber correct, latest Perl (-w) suggests double quoted HERE > > documents.
> > Mmm, I'm slightly dubious about that, since this admits interpolation. > Of course, saying print << 'DEBIAN_INFO' states its purpose more > carefully, so I'll do that. I have a number of Win32 improvements to > make so I'll be rolling out a new version soon, and I'll make sure this > goes in.
Well duh! I'm already doing interpolation. I'll fix it up. Thanks, David
On Thu Jul 12 02:41:19 2007, jari.aalto@cante.net wrote: Show quoted text
> "David Landgren via RT" <bug-Crypt-SSLeay@rt.cpan.org> writes: >
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27935 > > > > > I have made the following documentation changes based on your
suggestion. Show quoted text
> > Thank you for implementing the fix. May I suggest slight change: > > trunk/Makefile.PL > > 67 if (-f '/etc/debian_version') { > 68 print <<DEBIAN_INFO; > > => Chnage to: > > 67 if (-f '/etc/debian_version') { > 68 print << "DEBIAN_INFO"; > > If I remmeber correct, latest Perl (-w) suggests double quoted HERE > documents. > > Thanks, > Jari >
This change has been included as part of 0.56_01. This will be rolled out as 0.57 in the next couple of weeks (there a few other changes for other platforms that I want people to take for a spin in the meantime). Thanks, David