Skip Menu |

This queue is for tickets about the Filter-Crypto CPAN distribution.

Report information
The Basics
Id: 53866
Status: resolved
Priority: 0/
Queue: Filter-Crypto

People
Owner: Nobody in particular
Requestors: ddascalescu+perl [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.30
Fixed in: (no value)



Subject: Doesn't detect OpenSSL from Strawberry 5.10.1
Installation fails on Strawberry Perl 5.10.1 because the installed doesn't find OpenSSL or SSLEay. This may be related to RT #29795.

<<
C:\>cpan Filter::Crypto
Database was generated on Thu, 21 Jan 2010 00:49:49 GMT
Running install for module 'Filter::Crypto'
Running make for S/SH/SHAY/Filter-Crypto-1.30.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\S\SH\SHAY\Filter-Crypto-1.30.tar.gz ok

  CPAN.pm: Going to build S/SH/SHAY/Filter-Crypto-1.30.tar.gz

*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
    of the dependency's installation later.
[Core Features]
- Test::More       ...loaded. (0.94)
- blib             ...loaded. (1.04)
- Exporter         ...loaded. (5.63)
- Fcntl            ...loaded. (1.06)
- Scalar::Util     ...loaded. (1.21)
- Text::ParseWords ...loaded. (3.27)
- XSLoader         ...loaded. (0.10)
[crypt_file -e tempfile support]
- File::Temp       ...loaded. (0.22)
[PAR::Filter support]
- PAR::Filter      ...missing.
- File::Temp       ...loaded. (0.22)
Show quoted text
==> Auto-install the 1 optional module(s) from CPAN? [n] n
[Fuller PAR::Filter::Crypto testing]
- Archive::Zip     ...loaded. (1.30)
[POD testing]
- Test::Pod        ...loaded. (1.40 >= 1.00)
*** Module::AutoInstall configuration finished.

Where is your OpenSSL or SSLeay? [C:\strawberry\c] c:\strawberry\c\bin\
No such directory
Where is your OpenSSL or SSLeay? [C:\strawberry\c] c:\\strawberry\\c\\bin\\
No such directory
Where is your OpenSSL or SSLeay? [C:\strawberry\c] c:/strawberry/c/bin/
No such directory
Caught an potential prompt infinite loop (inc/Module/Install/PRIVATE.pm|428|Where is your OpenSSL or SSLeay?) at inc/Module/Install/Makefile.pm line 24, <STDIN> line 4.
(C:\strawberry\perl\bin\perl.exe Makefile.PL exited with 512)
Show quoted text
>>


Thank you for the report, and my apologies for taking so long to reply. I don't get the same error as you when entering the path c:\strawberry\c\bin\ for the OpenSSL location. I just get a message that the include directory could not be found: C:\>cpan Filter::Crypto [...] Where is your OpenSSL or SSLeay? [C:\strawberry\c] c:\strawberry\c\bin\ Error (103): No include directory found at Makefile.PL line 111 Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL] The reason for that error is that it is actually asking you for "the OpenSSL location" rather than "the openssl.exe location", i.e. it is looking for a directory that contains openssl.exe in a bin\ sub-folder, the OpenSSL headers in an include\ sub-folder, and the OpenSSL libraries in a lib\ sub-folder. In other words, you should simply accept the default answer of C:\strawberry\c and then all is well: C:\>cpan Filter::Crypto [...] Where is your OpenSSL or SSLeay? [C:\strawberry\c] Found include directory ............ C:\strawberry\c\include Found OpenSSL version .............. 0.9.8l Found crypto library ............... C:\strawberry\c\lib\libeay32.a Found binary executable ............ C:\strawberry\c\bin\openssl.exe [...] Checking if your kit is complete... Looks good Writing Makefile for Filter::Crypto::CryptFile Writing Makefile for Filter::Crypto::Decrypt Writing Makefile for Filter::Crypto [...] Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/01_constants.t t/02_function.t t/03_script.t t/04_par.t t/05_errstr.t t/06_pod.t t/01_constants.t .. ok t/02_function.t ... ok t/03_script.t ..... ok t/04_par.t ........ skipped: PAR::Filter required to test PAR::Filter::Crypto t/05_errstr.t ..... ok t/06_pod.t ........ skipped: Test::Pod required to test POD All tests successful. Files=6, Tests=397, 28 wallclock secs ( 0.16 usr + 0.06 sys = 0.22 CPU) Result: PASS