16
16
The following parameters may be of interest to installers:
17
17
18
18
<programlisting>
19
- Directory and file names :
19
+ Directories to install PostgreSQL in :
20
20
--prefix=PREFIX install architecture-independent files in PREFIX
21
21
[/usr/local/pgsql]
22
22
--bindir=DIR user executables in DIR [EPREFIX/bin]
@@ -32,28 +32,23 @@ Features and packages:
32
32
--with-template=<replaceable>template</replaceable>
33
33
use operating system template file
34
34
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
41
38
--enable-locale enable locale support
42
39
--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
49
43
--with-tcl build Tcl interfaces and pgtclsh
50
44
--with-tclconfig=<replaceable>tcldir</replaceable>
51
45
tclConfig.sh and tkConfig.sh are in DIR
52
- --with-perl build Perl interface
46
+ --with-perl build Perl interface and plperl
53
47
--with-odbc build ODBC driver package
54
48
--with-odbcinst=<replaceable>odbcdir</replaceable>
55
49
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)
57
52
--with-CC=<replaceable>compiler</replaceable>
58
53
use specific C compiler
59
54
--with-CXX=<replaceable>compiler</replaceable>
@@ -67,6 +62,20 @@ Features and packages:
67
62
C++ compiler may need to specify <option>--without-CXX</option> to instruct
68
63
the build procedure to skip construction of <filename>libpq++</filename>.
69
64
</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>
70
79
</sect1>
71
80
<sect1>
72
81
<title>Parameters for Building (<application>make</application>)</title>
@@ -82,7 +91,10 @@ Features and packages:
82
91
will create it using a text editor of your choice. When upgrading installations,
83
92
you can simply copy your old Makefile.custom to the new installation before
84
93
doing the build.
85
-
94
+ </para>
95
+ <para>
96
+ Alternatively, you can set variables on the <application>make</application>
97
+ command line:
86
98
<synopsis>
87
99
make [ <replaceable>variable</replaceable>=<replaceable class="parameter">value</replaceable> [,...] ]
88
100
</synopsis>
0 commit comments