diff options
| -rw-r--r-- | doc/src/sgml/installation.sgml | 160 |
1 files changed, 94 insertions, 66 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 2133b89bdb..94215a6b3a 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.17 2000/09/06 19:54:45 petere Exp $ --> +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.18 2000/09/17 20:35:27 petere Exp $ --> <chapter id="installation"> <title><![%flattext-install-include[<productname>PostgreSQL</> ]]>Installation Instructions</title> @@ -37,50 +37,81 @@ su - postgres might wish to consult if you are having trouble. </para> - <formalpara> - <title>Compiler</> - <para> - You need a Standard (<quote>ANSI</>) C compiler. Recent versions - of <productname>GCC</> are recommendable, but <productname>PostgreSQL</> is known to - build with a wide variety of compilers from different vendors. - </para> - </formalpara> - - <formalpara> - <title>Make</title> - <para> - Building <productname>PostgreSQL</> requires <acronym>GNU</> <application>make</>; it - will <emphasis>not</> work with other <application>make</> - programs. <acronym>GNU</> <application>make</> is often installed - under the name <filename>gmake</filename>. This document will - always refer to it by that name. (On GNU/Linux systems GNU make is - the default tool with the name <filename>make</filename>.) To test - for <acronym>GNU</acronym> <application>make</application> enter + <para> + The following prerequisites exist for building <productname>PostgreSQL</>: + <itemizedlist> + <listitem> + <para> + <acronym>GNU</> <application>make</> is required; other + <application>make</> programs will <emphasis>not</> work. + <acronym>GNU</> <application>make</> is often installed under + the name <filename>gmake</filename>; this document will always + refer to it by that name. (On GNU/Linux systems GNU make is the + default tool with the name <filename>make</>.) To test for + <acronym>GNU</acronym> <application>make</application> enter <screen> <userinput>gmake --version</userinput> </screen> - If at all possible you should try to use version 3.76.1 or later. - If you need to get <acronym>GNU</acronym> - <application>make</application>, you can find it at your local - <acronym>GNU</acronym> mirror site (see <ulink - url="http://www.gnu.org/order/ftp.html">http://www.gnu.org/order/ftp.html</>) - or at <ulink - url="ftp://ftp.gnu.org/gnu/make">ftp://ftp.gnu.org/gnu/make</ulink>. - </para> - </formalpara> + If at all possible you should use version 3.76.1 or later. + </para> + </listitem> - <formalpara> - <title>Resources</> - <para> - Check that you have sufficient disk space. You will need about 30 - MB for the source tree during compilation and about 5 MB for the - installation directory. An empty database takes about 1 MB, later - it takes about five times the amount of space that a flat text - file with the same data would take. If you are going to run the - regression tests you will temporarily need an extra 20 MB. Use the - <command>df</command> command to check for disk space. - </para> - </formalpara> + <listitem> + <para> + You need an <acronym>ISO</>/<acronym>ANSI</> C compiler. Recent + versions of <productname>GCC</> are recommendable, but + <productname>PostgreSQL</> is known to build with a wide variety + of compilers from different vendors. + </para> + </listitem> + + <listitem> + <para><application>gzip</></para> + </listitem> + + <listitem> + <para> + The <acronym>GNU</> <productname>Readline</> library for comfortable + line editing and command history retrieval will automatically be used + if found. You might wish to install it before proceeding, but it is not + required. + </para> + </listitem> + + <listitem> + <para> + <application>Flex</> and <application>Bison</> are + <emphasis>not</> required when building from a released source + package because the output files are pre-generated. You will + need these programs only when building from a CVS tree or when + the actual scanner and parser definition files were changed. If + you need them, be sure to get <application>Flex</> 2.5.4 or + later and <application>Bison</> 1.28 or later. Other yacc + programs can sometimes be used, but doing so requires extra + efforts and is not recommended. Other lex programs will + definitely not work. + </para> + </listitem> + </itemizedlist> + </para> + + <para> + If you need to get a <acronym>GNU</acronym> package, you can find + it at your local <acronym>GNU</acronym> mirror site (see <ulink + url="http://www.gnu.org/order/ftp.html">http://www.gnu.org/order/ftp.html</> + for a list) or at <ulink + url="ftp://ftp.gnu.org/gnu/make">ftp://ftp.gnu.org/gnu/make</ulink>. + </para> + + <para> + Also check that you have sufficient disk space. You will need about + 30 MB for the source tree during compilation and about 5 MB for the + installation directory. An empty database takes about 1 MB, later + it takes about five times the amount of space that a flat text file + with the same data would take. If you are going to run the + regression tests you will temporarily need an extra 20 MB. Use the + <command>df</command> command to check for disk space. + </para> </sect1> <