From e659e76ed2a1049ce5f7428fb6a8ef9deaef3ca6 Mon Sep 17 00:00:00 2001 From: Craig Ringer Date: Tue, 15 Nov 2016 15:45:41 +0800 Subject: [PATCH] Document that perl 5.8.0 is required --- src/test/perl/README | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/test/perl/README b/src/test/perl/README index cfb45a1..d2550a9 100644 --- a/src/test/perl/README +++ b/src/test/perl/README @@ -64,3 +64,21 @@ For available PostgreSQL-specific test methods and some example tests read the perldoc for the test modules, e.g.: perldoc src/test/perl/PostgresNode.pm + +Required Perl +------------- + +Tests must run on perl 5.8.0 and newer. perlbrew is a good way to obtain +such a Perl; see http://install.perlbrew.pl . + +Just install and + + perlbrew --force install 5.8.0 + perlbrew use 5.8.0 + perlbrew install-cpanm + cpanm install IPC::Run + +then re-run configure to ensure the correct Perl is used when running tests. To verify +that the right Perl was found: + + grep ^PERL= config.log -- 2.5.5