cpan Net::SSLeay
Running install for module 'Net::SSLeay'
Running make for M/MI/MIKEM/Net-SSLeay-1.55.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Net-SSLeay-1.55-v9rgJp
Could not make: Unknown error
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
我已经安装了这篇文章的所有库: install perl module Net::SSLeay through cpan
我还尝试手动安装它,在 make 命令期间我有这个日志:
SSLeay.c:8143: error: declaration for parameter ‘XS_Net__SSLeay_BIO_write’ but no such parameter
SSLeay.c:8110: error: declaration for parameter ‘XS_Net__SSLeay_BIO_read’ but no such parameter
SSLeay.c:8091: error: declaration for parameter ‘XS_Net__SSLeay_BIO_free’ but no such parameter
SSLeay.c:8072: error: declaration for parameter ‘XS_Net__SSLeay_BIO_new’ but no such parameter
SSLeay.c:8053: error: declaration for parameter ‘XS_Net__SSLeay_BIO_new_ssl_connect’ but no such parameter
SSLeay.c:8032: error: declaration for parameter ‘XS_Net__SSLeay_BIO_new_ssl’ but no such parameter
SSLeay.c:8011: error: declaration for parameter ‘XS_Net__SSLeay_BIO_new_file’ but no such parameter
SSLeay.c:7992: error: declaration for parameter ‘XS_Net__SSLeay_BIO_new_buffer_ssl_connect’ but no such parameter
SSLeay.c:7972: error: declaration for parameter ‘XS_Net__SSLeay_get_ssl_method’ but no such parameter
SSLeay.c:7926: error: declaration for parameter ‘XS_Net__SSLeay_set_ssl_method’ but no such parameter
SSLeay.c:7864: error: declaration for parameter ‘XS_Net__SSLeay_TLSv1_method’ but no such parameter
SSLeay.c:1189: error: declaration for parameter ‘XS_Net__SSLeay_constant’ but no such parameter
SSLeay.c:1167: error: declaration for parameter ‘XS_Net__SSLeay_CLONE’ but no such parameter
SSLeay.c:1123: error: declaration for parameter ‘S_croak_xs_usage’ but no such parameter
SSLeay.xs:422: error: declaration for parameter ‘simple_cb_data_t’ but no such parameter
SSLeay.xs:359: error: declaration for parameter ‘perl_filehandle_t’ but no such parameter
SSLeay.c:13975: error: expected ‘{’ at end of input
make: *** [SSLeay.o] Error 1