Subject: | Failed to Build with OpenSSL 0.9.8 |
Maybe you have noticed this, but since I haven't saw this on the bug report, I thought I should file one.
Crypt::SSLeay failed to build with OpenSSL 0.9.8. Currently I have to return to OpenSSL 0.9.7 in order to install Crypt::SSLeay. But once it's successfully built with OpenSSL 0.9.7, it can run with OpenSSL 0.9.8 smoothly.
Sorry I'm not good at XS modules, I cannot submit a fix here. Below is the build log that fails. I hope this helps. Please tell me if you need more information.
imacat@rinse build/Crypt-SSLeay-0.51 % perl Makefile.PL
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
imacat@rinse build/Crypt-SSLeay-0.51 % make
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/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.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/Err.pm blib/lib/Crypt/SSLeay/Err.pm
SSLeay.c: In function 'XS_Crypt__SSLeay__CTX_free':
SSLeay.c:187: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__CTX_set_cipher_list':
SSLeay.c:213: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__CTX_use_certificate_file':
SSLeay.c:241: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__CTX_use_PrivateKey_file':
SSLeay.c:269: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__CTX_use_pkcs12_file':
SSLeay.c:304: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__CTX_check_private_key':
SSLeay.c:351: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__CTX_set_verify':
SSLeay.c:380: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_new':
SSLeay.c:422: warning: cast to pointer from integer of different size
SSLeay.xs:252: warning: passing argument 2 of 'SSL_set_info_callback' from incompatible pointer type
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_free':
SSLeay.c:473: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_set_fd':
SSLeay.c:499: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_connect':
SSLeay.c:525: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_accept':
SSLeay.c:551: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_write':
SSLeay.c:583: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_read':
SSLeay.c:639: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_get_peer_certificate':
SSLeay.c:698: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_get_verify_result':
SSLeay.c:724: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_get_shared_ciphers':
SSLeay.c:755: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_get_cipher':
SSLeay.c:782: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__X509_free':
SSLeay.c:807: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__X509_subject_name':
SSLeay.c:834: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__X509_issuer_name':
SSLeay.c:866: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__X509_get_notBeforeString':
SSLeay.c:896: warning: cast to pointer from integer of different size
SSLeay.c: In function 'XS_Crypt__SSLeay__X509_get_notAfterString':
SSLeay.c:923: warning: cast to pointer from integer of different size
Running Mkbootstrap for Crypt::SSLeay ()
Manifying blib/man3/Crypt::SSLeay.3
imacat@rinse build/Crypt-SSLeay-0.51 % make test
t/net_ssl........dubious
Test returned status 0 (wstat 11, 0xb)
t/ssl_context....dubious
Test returned status 0 (wstat 11, 0xb)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255
imacat@rinse build/Crypt-SSLeay-0.51 %