* Perl: fails to install CPAN PBKDF2 module
@ 2015-11-13 16:02 Aaron Schneider
2015-11-13 16:42 ` Marco Atzeri
0 siblings, 1 reply; 3+ messages in thread
From: Aaron Schneider @ 2015-11-13 16:02 UTC (permalink / raw)
To: cygwin-apps
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
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>
^
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Perl: fails to install CPAN PBKDF2 module
2015-11-13 16:02 Perl: fails to install CPAN PBKDF2 module Aaron Schneider
@ 2015-11-13 16:42 ` Marco Atzeri
2015-11-13 17:18 ` Aaron Schneider
0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2015-11-13 16:42 UTC (permalink / raw)
To: cygwin-apps
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
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Perl: fails to install CPAN PBKDF2 module
2015-11-13 16:42 ` Marco Atzeri
@ 2015-11-13 17:18 ` Aaron Schneider
0 siblings, 0 replies; 3+ messages in thread
From: Aaron Schneider @ 2015-11-13 17:18 UTC (permalink / raw)
To: cygwin-apps
---------------------------------------
> Subject: Re: Perl: fails to install CPAN PBKDF2 module
> have you openssl-devel installed ?
No, I hadn't. Solved now, thank you.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-13 17:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-13 16:02 Perl: fails to install CPAN PBKDF2 module Aaron Schneider
2015-11-13 16:42 ` Marco Atzeri
2015-11-13 17:18 ` Aaron Schneider
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).