CygWin and Crypt::SSLay installation problem!
Kent Österlin <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have tried to install the Crypt::SSLay but it fails. I looked at some FAQ but could not find any installation failure information. I uses mechanic and it works fine with normal http. No I want to use SSL so I installed the Crypt::SSLay installation fails with the test so I forced an installation casing execution to core dump (understandable). I attach the log from my installation. Can you pleas help me to understand what is wrong. BR /Kent
Ny(tt) Textdokument.txt
(text/plain, 7.4 KB)
cpan> force install Crypt::SSLeay
Running install for module Crypt::SSLeay
Running make for C/CH/CHAMAS/Crypt-SSLeay-0.51.tar.gz
Checksum for /home/kenost/.cpan/sources/authors/id/C/CH/CHAMAS/Crypt-SSLeay-0.51.tar.gz ok
Crypt-SSLeay-0.51/
Crypt-SSLeay-0.51/t/
Crypt-SSLeay-0.51/t/net_ssl.t
Crypt-SSLeay-0.51/t/ssl_context.t
Crypt-SSLeay-0.51/lib/
Crypt-SSLeay-0.51/lib/Crypt/
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/MainContext.pm
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/Conn.pm
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/X509.pm
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/Err.pm
Crypt-SSLeay-0.51/lib/Crypt/SSLeay/CTX.pm
Crypt-SSLeay-0.51/lib/Net/
Crypt-SSLeay-0.51/lib/Net/SSL.pm
Crypt-SSLeay-0.51/certs/
Crypt-SSLeay-0.51/certs/ca-bundle.crt
Crypt-SSLeay-0.51/certs/notacakeynopass.pem
Crypt-SSLeay-0.51/certs/notacacert.pem
Crypt-SSLeay-0.51/MANIFEST
Crypt-SSLeay-0.51/typemap
Crypt-SSLeay-0.51/MANIFEST.SKIP
Crypt-SSLeay-0.51/SSLeay.pm
Crypt-SSLeay-0.51/CHANGES
Crypt-SSLeay-0.51/lwp-ssl-test
Crypt-SSLeay-0.51/net_ssl_test
Crypt-SSLeay-0.51/SSLeay.xs
Crypt-SSLeay-0.51/README
Crypt-SSLeay-0.51/Makefile.PL
Removing previously used /home/kenost/.cpan/build/Crypt-SSLeay-0.51
CPAN.pm: Going to build C/CH/CHAMAS/Crypt-SSLeay-0.51.tar.gz
Found OpenSSL (version OpenSSL 0.9.8) installed at /usr
Which OpenSSL build path do you want to link against? [/usr]
================================================
BUILD INFORMATION
================================================
ssl dir: /usr
libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir: /usr/include
ssl header: openssl/ssl.h
ssl candidate: /usr; /usr/include/openssl; OpenSSL 0.9.8
================================================
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgcc
Note (probably harmless): No library found for -lRSAglue
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay
cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm
cp lib/Net/SSL.pm blib/lib/Net/SSL.pm
cp SSLeay.pm blib/lib/Crypt/SSLeay.pm
cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm
cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm
cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm
cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm
/usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
gcc -c -I/usr/include -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" "-I/usr/lib/perl5/5.8/cygwin/CORE" SSLeay.c
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_free':
SSLeay.c:177: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_set_cipher_list':
SSLeay.c:201: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_use_certificate_file':
SSLeay.c:227: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_use_PrivateKey_file':
SSLeay.c:253: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_use_pkcs12_file':
SSLeay.c:286: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_check_private_key':
SSLeay.c:331: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_set_verify':
SSLeay.c:358: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_new':
SSLeay.c:398: warning: cast to pointer from integer of different size
SSLeay.xs:252: warning: passing arg 2 of `SSL_set_info_callback' from incompatible pointer type
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_free':
SSLeay.c:447: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_set_fd':
SSLeay.c:471: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_connect':
SSLeay.c:495: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_accept':
SSLeay.c:519: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_write':
SSLeay.c:549: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_read':
SSLeay.c:603: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_get_peer_certificate':
SSLeay.c:660: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_get_verify_result':
SSLeay.c:684: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_get_shared_ciphers':
SSLeay.c:713: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_get_cipher':
SSLeay.c:738: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__X509_free':
SSLeay.c:761: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__X509_subject_name':
SSLeay.c:786: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__X509_issuer_name':
SSLeay.c:816: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__X509_get_notBeforeString':
SSLeay.c:844: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Crypt__SSLeay__X509_get_notAfterString':
SSLeay.c:869: warning: cast to pointer from integer of different size
Running Mkbootstrap for Crypt::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.dll
LD_RUN_PATH="" ld2 -s -L/usr/local/lib SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.dll /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/lib -lssl -lcrypto
gcc -shared -o SSLeay.dll -Wl,--out-implib=libSSLeay.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \
-s -L/usr/local/lib SSLeay.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/lib -lssl -lcrypto
Creating library file: libSSLeay.dll.a
mv SSLeay.dll libSSLeay.dll.a blib/arch/auto/Crypt/SSLeay/
chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.dll
cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs
chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs
/usr/bin/make -- OK
Running make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/net_ssl........dubious
Test returned status 0 (wstat 139, 0x8b)
t/ssl_context....dubious
Test returned status 0 (wstat 139, 0x8b)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
Installing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Crypt/SSLeay/libSSLeay.dll.a
Installing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Crypt/SSLeay/SSLeay.dll
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Crypt/SSLeay/.packlist
Appending installation info to /usr/lib/perl5/5.8/cygwin/perllocal.pod
/usr/bin/make install -- OK
cpan>