From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin-apps@cygwin.com
Subject: Re: Perl: fails to install CPAN PBKDF2 module
Date: Fri, 13 Nov 2015 16:42:00 -0000 [thread overview]
Message-ID: <564612F1.1040508@gmail.com> (raw)
In-Reply-To: <DUB126-W272DAAFF9A91C6837A551BCE110@phx.gbl>
On 13/11/2015 17:02, Aaron Schneider wrote:
> Just running the usual:
>
> perl -MCPAN -e shell
>
> cpan[1]> install Crypt::OpenSSL::PBKDF2
> Reading '/home/Aaron/.cpan/Metadata'
> Database was generated on Thu, 12 Nov 2015 21:17:02 GMT
> Running install for module 'Crypt::OpenSSL::PBKDF2'
> Checksum for /home/Aaron/.cpan/sources/authors/id/S/SK/SKUPSY/OpenSSL/Crypt-OpenSSL-PBKDF2-0.04.tar.gz ok
> Scanning cache /home/Aaron/.cpan/build for sizes
> ............................................................................DONE
> Configuring S/SK/SKUPSY/OpenSSL/Crypt-OpenSSL-PBKDF2-0.04.tar.gz with Makefile.PL
> Checking if your kit is complete...
> Looks good
> Warning (mostly harmless): No library found for -lcrypto
> Warning (mostly harmless): No library found for -lssl
for a things that is called Crypt-OpenSSL,
it seems you missed to install the needed
headers and import libraries
> Generating a Unix-style Makefile
> Writing Makefile for Crypt::OpenSSL::PBKDF2
> Writing MYMETA.yml and MYMETA.json
> SKUPSY/OpenSSL/Crypt-OpenSSL-PBKDF2-0.04.tar.gz
> /usr/bin/perl Makefile.PL -- OK
> Running make for S/SK/SKUPSY/OpenSSL/Crypt-OpenSSL-PBKDF2-0.04.tar.gz
> cp PBKDF2.pm blib/lib/Crypt/OpenSSL/PBKDF2.pm
> AutoSplitting blib/lib/Crypt/OpenSSL/PBKDF2.pm (blib/lib/auto/Crypt/OpenSSL/PBKDF2)
> Running Mkbootstrap for Crypt::OpenSSL::PBKDF2 ()
> chmod 644 "PBKDF2.bs"
> "/usr/bin/perl.exe" "/usr/lib/perl5/5.22/ExtUtils/xsubpp" -typemap "/usr/lib/perl5/5.22/ExtUtils/typemap" -typemap "typemap" PBKDF2.xs> PBKDF2.xsc && mv PBKDF2.xsc PBKDF2.c
> Please specify prototyping behavior for PBKDF2.xs (see perlxs manual)
> gcc -c -I. -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86/build=/usr/src/debug/perl-5.22.0-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86/src/perl-5.22.0=/usr/src/debug/perl-5.22.0-1 -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DUSEIMPORTLIB -O3 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-I/usr/lib/perl5/5.22/i686-cygwin-threads-64int/CORE" PBKDF2.c
> PBKDF2.c:159:25: fatal error: openssl/ssl.h: No such file or directory
> #include <openssl/ssl.h>
have you openssl-devel installed ?
> ^
> compilation terminated.
> Makefile:336: recipe for target 'PBKDF2.o' failed
> make: *** [PBKDF2.o] Error 1
> SKUPSY/OpenSSL/Crypt-OpenSSL-PBKDF2-0.04.tar.gz
> /usr/bin/make -- NOT OK
> Failed during this command:
> SKUPSY/OpenSSL/Crypt-OpenSSL-PBKDF2-0.04.tar.gz: make NO
>
>
>
next prev parent reply other threads:[~2015-11-13 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-13 16:02 Aaron Schneider
2015-11-13 16:42 ` Marco Atzeri [this message]
2015-11-13 17:18 ` Aaron Schneider
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=564612F1.1040508@gmail.com \
--to=marco.atzeri@gmail.com \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).