This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Perl: fails to install CPAN PBKDF2 module


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

  		 	   		



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]