Commit dea6ba93 authored by Tom Lane's avatar Tom Lane

Doc: specify that the minimum supported version of Perl is 5.8.3.

Previously the docs just said "5.8 or later".  Experimentation shows
that while you can build on Unix from a git checkout with 5.8.0,
compiling recent PL/Perl requires at least 5.8.1, and you won't be
able to run the TAP tests with less than 5.8.3 because that's when
they added "prove".  (I do not have any information on just what the
MSVC build scripts require.)

Since all these versions are quite ancient, let's not split hairs
in the docs, but just say that 5.8.3 is the minimum requirement.

Discussion: https://postgr.es/m/16894.1501392088@sss.pgh.pa.us
parent 40b9f192
...@@ -180,7 +180,8 @@ $ENV{MSBFLAGS}="/m"; ...@@ -180,7 +180,8 @@ $ENV{MSBFLAGS}="/m";
ActiveState Perl is required to run the build generation scripts. MinGW ActiveState Perl is required to run the build generation scripts. MinGW
or Cygwin Perl will not work. It must also be present in the PATH. or Cygwin Perl will not work. It must also be present in the PATH.
Binaries can be downloaded from Binaries can be downloaded from
<ulink url="http://www.activestate.com"></> (Note: version 5.8 or later is required, <ulink url="http://www.activestate.com"></>
(Note: version 5.8.3 or later is required,
the free Standard Distribution is sufficient). the free Standard Distribution is sufficient).
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>
......
...@@ -163,6 +163,7 @@ su - postgres ...@@ -163,6 +163,7 @@ su - postgres
<application>PL/Perl</application> you need a full <application>PL/Perl</application> you need a full
<productname>Perl</productname> installation, including the <productname>Perl</productname> installation, including the
<filename>libperl</filename> library and the header files. <filename>libperl</filename> library and the header files.
The minimum required version is <productname>Perl</productname> 5.8.3.
Since <application>PL/Perl</application> will be a shared Since <application>PL/Perl</application> will be a shared
library, the <indexterm><primary>libperl</primary></indexterm> library, the <indexterm><primary>libperl</primary></indexterm>
<filename>libperl</filename> library must be a shared library <filename>libperl</filename> library must be a shared library
...@@ -309,7 +310,7 @@ su - postgres ...@@ -309,7 +310,7 @@ su - postgres
<primary>perl</primary> <primary>perl</primary>
</indexterm> </indexterm>
<application>Perl</> 5.8 or later is needed to build from a Git checkout, <application>Perl</> 5.8.3 or later is needed to build from a Git checkout,
or if you changed the input files for any of the build steps that or if you changed the input files for any of the build steps that
use Perl scripts. If building on Windows you will need use Perl scripts. If building on Windows you will need
<application>Perl</> in any case. <application>Perl</application> is <application>Perl</> in any case. <application>Perl</application> is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment