mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Update descriptions of configure's options, and document how to specify
multiple directories for --with-includes or --with-libraries.
This commit is contained in:
@ -16,7 +16,7 @@
|
|||||||
The following parameters may be of interest to installers:
|
The following parameters may be of interest to installers:
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
Directory and file names:
|
Directories to install PostgreSQL in:
|
||||||
--prefix=PREFIX install architecture-independent files in PREFIX
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
||||||
[/usr/local/pgsql]
|
[/usr/local/pgsql]
|
||||||
--bindir=DIR user executables in DIR [EPREFIX/bin]
|
--bindir=DIR user executables in DIR [EPREFIX/bin]
|
||||||
@ -32,28 +32,23 @@ Features and packages:
|
|||||||
--with-template=<replaceable>template</replaceable>
|
--with-template=<replaceable>template</replaceable>
|
||||||
use operating system template file
|
use operating system template file
|
||||||
see template directory
|
see template directory
|
||||||
--with-includes=<replaceable>incdir</replaceable>
|
--with-includes=<replaceable>dirs</replaceable> look for header files for tcl/tk, etc in DIRS
|
||||||
site header files for tk/tcl, etc in DIR
|
--with-libraries=<replaceable>dirs</replaceable> look for additional libraries in DIRS
|
||||||
--with-libs=<replaceable>incdir</replaceable>
|
--with-libs=<replaceable>dirs</replaceable> alternate spelling of --with-libraries
|
||||||
also search for libraries in DIR
|
|
||||||
--with-libraries=<replaceable>libdir</replaceable>
|
|
||||||
also search for libraries in DIR
|
|
||||||
--enable-locale enable locale support
|
--enable-locale enable locale support
|
||||||
--enable-recode enable cyrillic recode support
|
--enable-recode enable cyrillic recode support
|
||||||
--with-mb=<replaceable>encoding</replaceable>
|
--enable-multibyte enable multibyte character support
|
||||||
enable multi-byte support
|
--with-pgport=<replaceable>portnum</replaceable> change default postmaster port
|
||||||
--with-pgport=<replaceable>portnum</replaceable>
|
--with-maxbackends=<replaceable>n</replaceable> set default maximum number of server processes
|
||||||
change default startup port
|
|
||||||
--with-maxbackends=<replaceable>n</replaceable>
|
|
||||||
set default maximum number of server processes
|
|
||||||
--with-tcl build Tcl interfaces and pgtclsh
|
--with-tcl build Tcl interfaces and pgtclsh
|
||||||
--with-tclconfig=<replaceable>tcldir</replaceable>
|
--with-tclconfig=<replaceable>tcldir</replaceable>
|
||||||
tclConfig.sh and tkConfig.sh are in DIR
|
tclConfig.sh and tkConfig.sh are in DIR
|
||||||
--with-perl build Perl interface
|
--with-perl build Perl interface and plperl
|
||||||
--with-odbc build ODBC driver package
|
--with-odbc build ODBC driver package
|
||||||
--with-odbcinst=<replaceable>odbcdir</replaceable>
|
--with-odbcinst=<replaceable>odbcdir</replaceable>
|
||||||
change default directory for odbcinst.ini
|
change default directory for odbcinst.ini
|
||||||
--enable-cassert enable assertion checks (debugging)
|
--enable-cassert enable assertion checks (for debugging)
|
||||||
|
--enable-debug build with debugging symbols (-g)
|
||||||
--with-CC=<replaceable>compiler</replaceable>
|
--with-CC=<replaceable>compiler</replaceable>
|
||||||
use specific C compiler
|
use specific C compiler
|
||||||
--with-CXX=<replaceable>compiler</replaceable>
|
--with-CXX=<replaceable>compiler</replaceable>
|
||||||
@ -67,6 +62,20 @@ Features and packages:
|
|||||||
C++ compiler may need to specify <option>--without-CXX</option> to instruct
|
C++ compiler may need to specify <option>--without-CXX</option> to instruct
|
||||||
the build procedure to skip construction of <filename>libpq++</filename>.
|
the build procedure to skip construction of <filename>libpq++</filename>.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
Use the <option>--with-includes</option> and
|
||||||
|
<option>--with-libraries</option> options if you want to build
|
||||||
|
<productname>Postgres</productname> using include files or libraries
|
||||||
|
that are not installed in your system's standard search path. For
|
||||||
|
example, you might use these to build with an experimental version of
|
||||||
|
Tcl. If you need to specify more than one nonstandard directory for
|
||||||
|
include files or libraries, do it like this:
|
||||||
|
<programlisting>
|
||||||
|
--with-includes="/opt/tcl/include /opt/perl5/include"
|
||||||
|
</programlisting>
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
<sect1>
|
<sect1>
|
||||||
<title>Parameters for Building (<application>make</application>)</title>
|
<title>Parameters for Building (<application>make</application>)</title>
|
||||||
@ -82,7 +91,10 @@ Features and packages:
|
|||||||
will create it using a text editor of your choice. When upgrading installations,
|
will create it using a text editor of your choice. When upgrading installations,
|
||||||
you can simply copy your old Makefile.custom to the new installation before
|
you can simply copy your old Makefile.custom to the new installation before
|
||||||
doing the build.
|
doing the build.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Alternatively, you can set variables on the <application>make</application>
|
||||||
|
command line:
|
||||||
<synopsis>
|
<synopsis>
|
||||||
make [ <replaceable>variable</replaceable>=<replaceable class="parameter">value</replaceable> [,...] ]
|
make [ <replaceable>variable</replaceable>=<replaceable class="parameter">value</replaceable> [,...] ]
|
||||||
</synopsis>
|
</synopsis>
|
||||||
|
Reference in New Issue
Block a user