Subject: | Prove prerequisites in configure stage |
Hi,
current build on OS X still looks as:
Configuring M/MI/MIKEM/Net-SSLeay-1.73.tar.gz with Makefile.PL
CPAN: CPAN::Reporter loaded ok (v1.2017)
*** Found OpenSSL-0.9.8z installed in /usr
*** Be sure to use the same compiler and options to compile your OpenSSL, perl,
and Net::SSLeay. Mixing and matching compilers is not supported.
Do you want to run external tests?
These tests *will* *fail* if you do not have network connectivity. [n] n
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Net::SSLeay
Writing MYMETA.yml and MYMETA.json
(/Users/sno/perl5/perlbrew/perls/perl-5.22.1/bin/perl Makefile.PL exited with 0)
CPAN::Reporter: Makefile.PL result is 'pass', No errors.
MIKEM/Net-SSLeay-1.73.tar.gz
/Users/sno/perl5/perlbrew/perls/perl-5.22.1/bin/perl Makefile.PL -- OK
Running make for M/MI/MIKEM/Net-SSLeay-1.73.tar.gz
cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm
AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
directory blib/lib/auto/Net/SSLeay:
do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod
cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
Running Mkbootstrap for Net::SSLeay ()
chmod 644 "SSLeay.bs"
"/Users/sno/perl5/perlbrew/perls/perl-5.22.1/bin/perl" "-Iinc" "/Users/sno/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/ExtUtils/xsubpp" -typemap "/Users/sno/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/ExtUtils/typemap" -typemap "typemap" SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -O3 -DVERSION=\"1.73\" -DXS_VERSION=\"1.73\" "-I/Users/sno/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/darwin-2level/CORE" SSLeay.c
SSLeay.xs:163:10: fatal error: 'openssl/err.h' file not found
#include <openssl/err.h>
^
1 error generated.
make: *** [SSLeay.o] Error 1
(/usr/bin/make exited with 512)
CPAN::Reporter: make result is 'unknown', Stopped with an error.
CPAN::Reporter: preparing a CPAN Testers report for Net-SSLeay-1.73
CPAN::Reporter: sending test report with 'unknown' via Metabase
MIKEM/Net-SSLeay-1.73.tar.gz
/usr/bin/make -- NOT OK
$
When openssl/err.h is not found (read: no suitable openssl found), it never should generate a Makefile.
Check output of "perl Makefile.PL" in http://www.cpantesters.org/cpan/report/a470c067-6cd7-1014-977b-6f93728c1559 to get an impression what I mean.