Subject: | Fails to build on Perl 5.8.7 and older |
Key diagnostics from the log:
SSLeay.xs: In function 'ssleay_set_psk_client_callback_invoke':
/opt/perl/5.8.1/lib/5.8.1/x86_64-linux/CORE/pp.h:136:29: error: 'n_a' undeclared (first use in this function)
#define POPpx (SvPVx(POPs, n_a))
^
SSLeay.xs: In function 'ssleay_ctx_set_psk_client_callback_invoke':
/opt/perl/5.8.1/lib/5.8.1/x86_64-linux/CORE/pp.h:136:29: error: 'n_a' undeclared (first use in this function)
#define POPpx (SvPVx(POPs, n_a))
^
same can be found in cpantesters fails here:
http://matrix.cpantesters.org/?dist=Net-SSLeay%201.85;os=linux;perl=5.8.7;reports=1
1.82 was the newest version that built for me. I used cpanm -v Net::SSLeay@1.82 to install.