1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-29 16:21:20 +03:00

Fix list of environment variables for configure. Remove some variables

that are almost never used.  Put documentation-related variables into the
documentation chapter.
This commit is contained in:
Peter Eisentraut 2006-10-23 14:13:43 +00:00
parent a09f9ff649
commit 033cb9d30b
2 changed files with 43 additions and 180 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.57 2006/09/16 00:30:12 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.58 2006/10/23 14:13:43 petere Exp $ -->
<appendix id="docguide"> <appendix id="docguide">
<title>Documentation</title> <title>Documentation</title>
@ -502,12 +502,15 @@ checking for sgmlspl... sgmlspl
If neither <filename>onsgmls</filename> nor If neither <filename>onsgmls</filename> nor
<filename>nsgmls</filename> were found then you will not see the <filename>nsgmls</filename> were found then you will not see the
remaining 4 lines. <filename>nsgmls</filename> is part of the Jade remaining 4 lines. <filename>nsgmls</filename> is part of the Jade
package. If <quote>DocBook V4.2</quote> was not found then you did package. You can pass the environment variables
not install the DocBook DTD kit in a place where jade can find it, <envar>JADE</envar> and <envar>NSGMLS</envar> to configure to point
or you have not set up the catalog files correctly. See the to the programs if they are not found automatically. If
installation hints above. The DocBook stylesheets are looked for <quote>DocBook V4.2</quote> was not found then you did not install
in a number of relatively standard places, but if you have them the DocBook DTD kit in a place where Jade can find it, or you have
some other place then you should set the environment variable not set up the catalog files correctly. See the installation hints
above. The DocBook stylesheets are looked for in a number of
relatively standard places, but if you have them some other place
then you should set the environment variable
<envar>DOCBOOKSTYLE</envar> to the location and rerun <envar>DOCBOOKSTYLE</envar> to the location and rerun
<filename>configure</filename> afterwards. <filename>configure</filename> afterwards.
</para> </para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.264 2006/10/12 18:49:32 neilc Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.265 2006/10/23 14:13:43 petere Exp $ -->
<chapter id="installation"> <chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]> <title><![%standalone-include[<productname>PostgreSQL</>]]>
@ -1064,269 +1064,129 @@ su - postgres
</para> </para>
<para> <para>
Here's a list of the significant environment variables: Here is a list of the significant variables that can be set in
</para> this manner:
<para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><option>AWK=<replaceable>/path/to/awk</></option></term> <term><envar>CC</envar></term>
<listitem> <listitem>
<para> <para>
<replaceable>/path/to/awk</> is the full path to <application>awk</>. C compiler
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>CC=<replaceable>/path/to/cc</></option></term> <term><envar>CFLAGS</envar></term>
<listitem> <listitem>
<para> <para>
<replaceable>/path/to/cc</> is the full path to your C compiler, such options to pass to the C compiler
as <application>gcc</>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>CFLAGS=<replaceable>FLAGS</></option></term> <term><envar>CPP</envar></term>
<listitem> <listitem>
<para> <para>
<replaceable>FLAGS</> is the a list of flags to pass to the C C preprocessor
compiler.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>COLLATEINDEX</option></term> <term><envar>CPPFLAGS</envar></term>
<listitem> <listitem>
<para> <para>
Used for building the SGML documentation. options to pass to the C preprocessor
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>CPP=<replaceable>/path/to/cpp</></option></term> <term><envar>DTRACE</envar></term>
<listitem> <listitem>
<para> <para>
<replaceable>/path/to/cpp</> is the full path to your C preprocessor, location of the <command>dtrace</command> program
such as <application>gcc</>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>CPPFLAGS=<replaceable>FLAGS</></option></term> <term><envar>DTRACEFLAGS</envar></term>
<listitem> <listitem>
<para> <para>
<replaceable>FLAGS</> is the a list of flags to pass to the C options to pass to the <command>dtrace</command> program
preprocessor.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>DOCBOOKSTYLE</option></term> <term><envar>LDFLAGS</envar></term>
<listitem> <listitem>
<para> <para>
Used for building the SGML documentation. options to pass to the link editor
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>DTRACE=<replaceable>/path/to/dtrace</></option></term> <term><envar>LDFLAGS_SL</envar></term>
<listitem> <listitem>
<para> <para>
Specifies the location of the <command>dtrace</command> program. linker options for shared library linking
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>DTRACEFLAGS=<replaceable>FLAGS</></option></term> <term><envar>MSGFMT</envar></term>
<listitem> <listitem>
<para> <para>
<replaceable>FLAGS</> is the a list of flags to pass to the <command>msgfmt</command> program for native language support
<command>dtrace</command> program.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>JADE</option></term> <term><envar>PERL</envar></term>
<listitem> <listitem>
<para> <para>
Used for building the SGML documentation. Full path to the Perl interpreter. This will be used to
determine the dependencies for building PL/Perl.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>LDFLAGS=<replaceable>FLAGS</></option></term> <term><envar>PYTHON</envar></term>
<listitem> <listitem>
<para> <para>
<replaceable>FLAGS</> is the a list of flags to pass to the link file Full path to the Python interpreter. This will be used to
editor. determine the dependencies for building PL/Python.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>LDFLAGS_SL</option></term> <term><envar>TCLSH</envar></term>
<listitem> <listitem>
<para> <para>
Used for shared library linking. Full path to the Tcl interpreter. This wil be used to
determine the dependencies for building PL/Tcl.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>LORDER=<replaceable>/path/to/lorder</></option></term> <term><envar>YACC</envar></term>
<listitem> <listitem>
<para> <para>
<replaceable>/path/to/lorder</> is the full path to your dependency Yacc program (<literal>bison -y</literal> if using Bison)
listing program.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>MSGFMT</option></term>
<listitem>
<para>
Used for Native Language Support (NLS).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>MSGMERGE</option></term>
<listitem>
<para>
Used for Native Language Support (NLS).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>NSGMLS</option></term>
<listitem>
<para>
Used for building the SGML documentation.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>PERL=<replaceable>/path/to/perl</></option></term>
<listitem>
<para>
<replaceable>/path/to/perl</> is the full path to your Perl 5
interpreter. Note that this wil be used to determine the dependencies
for building PL/Perl.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>PTHREAD_CC</option></term>
<listitem>
<para>
Used for adding thread-safety flags.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>PYTHON=<replaceable>/path/to/python</></option></term>
<listitem>
<para>
<replaceable>/path/to/python</> is the full path to your Python
interpreter. Note that this wil be used to determine the dependencies
for building PL/Python.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>RANLIB=<replaceable>/path/to/ranlib</></option></term>
<listitem>
<para>
<replaceable>/path/to/ranlib</> is the full path to your archive
library table of contents editor.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>SGMLSPL</option></term>
<listitem>
<para>
Used for building the SGML documentation.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>STRIP=<replaceable>/path/to/strip</></option></term>
<listitem>
<para>
<replaceable>/path/to/strip</> is the full path to your strip program.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>TCL=<replaceable>/path/to/tcl</></option></term>
<listitem>
<para>
<replaceable>/path/to/tcl</> is the full path to your TCL
interpreter. Note that this wil be used to determine the dependencies
for building PL/TCL.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>TAR=<replaceable>/path/to/tar</></option></term>
<listitem>
<para>
<replaceable>/path/to/tar</> is the full path to your tar program.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>TCLISH=<replaceable>/path/to/tclish</></option></term>
<listitem>
<para>
<replaceable>/path/to/tclish</> is the full path to your tclish program.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>XGETTEXT=<replaceable>/path/to/xgettext</></option></term>
<listitem>
<para>
<replaceable>/path/to/xgettext</> is the full path to your xgettext program.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>YACC=<replaceable>/path/to/yacc</></option></term>
<listitem>
<para>
<replaceable>/path/to/yacc</> is the full path to your yacc program.
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</para> </para>
</step> </step>