1616 The following parameters may be of interest to installers:
1717
1818 <programlisting>
19- Directory and file names :
19+ Directories to install PostgreSQL in :
2020 --prefix=PREFIX install architecture-independent files in PREFIX
2121 [/usr/local/pgsql]
2222 --bindir=DIR user executables in DIR [EPREFIX/bin]
@@ -32,28 +32,23 @@ Features and packages:
3232 --with-template=<replaceable>template</replaceable>
3333 use operating system template file
3434 see template directory
35- --with-includes=<replaceable>incdir</replaceable>
36- site header files for tk/tcl, etc in DIR
37- --with-libs=<replaceable>incdir</replaceable>
38- also search for libraries in DIR
39- --with-libraries=<replaceable>libdir</replaceable>
40- also search for libraries in DIR
35+ --with-includes=<replaceable>dirs</replaceable> look for header files for tcl/tk, etc in DIRS
36+ --with-libraries=<replaceable>dirs</replaceable> look for additional libraries in DIRS
37+ --with-libs=<replaceable>dirs</replaceable> alternate spelling of --with-libraries
4138 --enable-locale enable locale support
4239 --enable-recode enable cyrillic recode support
43- --with-mb=<replaceable>encoding</replaceable>
44- enable multi-byte support
45- --with-pgport=<replaceable>portnum</replaceable>
46- change default startup port
47- --with-maxbackends=<replaceable>n</replaceable>
48- set default maximum number of server processes
40+ --enable-multibyte enable multibyte character support
41+ --with-pgport=<replaceable>portnum</replaceable> change default postmaster port
42+ --with-maxbackends=<replaceable>n</replaceable> set default maximum number of server processes
4943 --with-tcl build Tcl interfaces and pgtclsh
5044 --with-tclconfig=<replaceable>tcldir</replaceable>
5145 tclConfig.sh and tkConfig.sh are in DIR
52- --with-perl build Perl interface
46+ --with-perl build Perl interface and plperl
5347 --with-odbc build ODBC driver package
5448 --with-odbcinst=<replaceable>odbcdir</replaceable>
5549 change default directory for odbcinst.ini
56- --enable-cassert enable assertion checks (debugging)
50+ --enable-cassert enable assertion checks (for debugging)
51+ --enable-debug build with debugging symbols (-g)
5752 --with-CC=<replaceable>compiler</replaceable>
5853 use specific C compiler
5954 --with-CXX=<replaceable>compiler</replaceable>
@@ -67,6 +62,20 @@ Features and packages:
6762 C++ compiler may need to specify <option>--without-CXX</option> to instruct
6863 the build procedure to skip construction of <filename>libpq++</filename>.
6964 </para>
65+ <para>
66+ Use the <option>--with-includes</option> and
67+ <option>--with-libraries</option> options if you want to build
68+ <productname>Postgres</productname> using include files or libraries
69+ that are not installed in your system's standard search path. For
70+ example, you might use these to build with an experimental version of
71+ Tcl. If you need to specify more than one nonstandard directory for
72+ include files or libraries, do it like this:
73+ <programlisting>
74+ --with-includes="/opt/tcl/include /opt/perl5/include"
75+ </programlisting>
76+ </para>
77+ <para>
78+ </para>
7079 </sect1>
7180 <sect1>
7281 <title>Parameters for Building (<application>make</application>)</title>
@@ -82,7 +91,10 @@ Features and packages:
8291 will create it using a text editor of your choice. When upgrading installations,
8392 you can simply copy your old Makefile.custom to the new installation before
8493 doing the build.
85-
94+ </para>
95+ <para>
96+ Alternatively, you can set variables on the <application>make</application>
97+ command line:
8698 <synopsis>
8799 make [ <replaceable>variable</replaceable>=<replaceable class="parameter">value</replaceable> [,...] ]
88100 </synopsis>