|CC:||dev [...] httpd.apache.org|
|Subject:||Not working with LibreSSL|
|Date:||Wed, 15 Jul 2015 20:21:27 +0200|
|To:||bug-Crypt-SSLeay [...] rt.cpan.org|
|From:||Michael Felt <michael [...] felt.demon.nl>|
a) could not get perl Makefile.PL to recognize CFLAGS and/or LFLAGS exported, so it was a bit more difficult to get compiled. Note: after export CFLAGS=/opt/include running OPENSSL_PREFIX=/opt perl Makefile.PL did get a Makefile created, but none of the libraries were found. To finish I cut/pasted the last ld command and added -L/opt/lib -lssl -lcrypto make test fails - immediately with - root@x068:[/var/perl/.cpan/build/Crypt-SSLeay-0.72]make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-basic.t ..... ok t/01-connect.t ... ok t/02-live.t ...... # Reading configuration from 'test.config' on aix # network_tests : 1 t/02-live.t ...... 1/? # [RT #73755] Cheat by disabling LWP::UserAgent host verification t/02-live.t ...... ok t/03-version.t ... 1/? # Failed test 'openssl_version return value looks valid' # at t/03-version.t line 64. # 'LibreSSL 2.2.0' # doesn't match '(?-xism:\AOpenSSL)' # Looks like you failed 1 test of 12. t/03-version.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/12 subtests t/boilerplate.t .. ok t/manifest.t ..... skipped: Author tests not required for installation Test Summary Report ------------------- t/03-version.t (Wstat: 256 Tests: 12 Failed: 1) Failed test: 10 Non-zero exit status: 1 Files=6, Tests=52, 2 wallclock secs ( 0.05 usr 0.01 sys + 0.40 cusr 0.08 csys = 0.54 CPU) Result: FAIL Failed 1/6 test programs. 1/52 subtests failed. make: 1254-004 The error code from the last command is 255. Also, during building I needed to manually install Getopt::Long and Path::Class. Maybe it would help if they were in a require statement. p.s. I am doing this to meet the requirements for Bundle::ApacheTest for email@example.com - MAYBE ApacheTest could drop it's requirement for Crypt:SSLeay as it seems there are many other (better?) modules doing what it did (does).