diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-06-23 03:46:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-06-23 03:46:00 +0000 |
commit | 8d355d7bbfea045415afe66a30e321d4621cc1b9 (patch) | |
tree | 294bc866913ee84655c0d6a44a7d7287c10f47a1 /doc/src | |
parent | bc00ceb159624ab1e4125995a64b318e6c2b1157 (diff) |
Fix the makefiles to fail cleanly if Perl is needed but not present. This
used to work as intended, but got broken some time ago (a quoted empty string
is not an empty string), and got broken some more by the changes to generate
ecpg's preproc.y automatically. Given all the unprotected uses of $(PERL)
elsewhere, it seems best to make use of the $(missing) script rather than
trying to ensure each such use is protected individually. Also fix various
bits of documentation that omitted to mention Perl as a requirement for
building from a CVS pull. Per a complaint from Robert Haas.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/cvs.sgml | 3 | ||||
-rw-r--r-- | doc/src/sgml/installation.sgml | 16 |
2 files changed, 16 insertions, 3 deletions
diff --git a/doc/src/sgml/cvs.sgml b/doc/src/sgml/cvs.sgml index 83b721cdb97..55b17a23d31 100644 --- a/doc/src/sgml/cvs.sgml +++ b/doc/src/sgml/cvs.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/cvs.sgml,v 1.50 2008/04/21 11:06:13 mha Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/cvs.sgml,v 1.51 2009/06/23 03:46:00 tgl Exp $ --> <appendix id="cvs"> <appendixinfo> @@ -171,6 +171,7 @@ cvs update pull requires reasonably up-to-date versions of <application>bison</> and <application>flex</>, which are not needed to build from a distribution tarball because the files made with them are pre-built in a tarball. + You will need Perl as well. Otherwise the tool requirements are the same as building from source. </para> </sect1> diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index f6f5166adac..0f9ce3eeee0 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.324 2009/06/17 21:58:49 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.325 2009/06/23 03:46:00 tgl Exp $ --> <chapter id="installation"> <title><![%standalone-include[<productname>PostgreSQL</>]]> @@ -294,13 +294,25 @@ su - postgres </indexterm> GNU <application>Flex</> and <application>Bison</> - are needed to build a CVS checkout or if you changed the actual + are needed to build from a CVS checkout, or if you changed the actual scanner and parser definition files. If you need them, be sure to get <application>Flex</> 2.5.4 or later and <application>Bison</> 1.875 or later. Other <application>lex</> and <application>yacc</> programs cannot be used. </para> </listitem> + <listitem> + <para> + <indexterm> + <primary>perl</primary> + </indexterm> + + <application>Perl</> is also needed to build from a CVS checkout, + or if you changed the input files for any of the build steps that + use Perl scripts. If building on Windows you will need + <application>Perl</> in any case. + </para> + </listitem> </itemizedlist> </para> |