This page in other versions: Unsupported versions: 6.4 / 6.5

Chapter 17. Configuration Options

Parameters for Configuration (configure)

The full set of parameters available in configure can be obtained by typing

    $ ./configure --help

The following parameters may be of interest to installers:

Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
--enable and --with options recognized:
                          use operating system template file
                              see template directory
                          site header files for tk/tcl, etc in DIR
                          also search for libraries in DIR
                          also search for libraries in DIR
  --enable-locale         enable locale support
  --enable-recode         enable cyrillic recode support
                          enable multi-byte support
                          change default startup port
                          set default maximum number of server processes 
  --with-tcl              build Tcl interfaces and pgtclsh
                 and are in DIR
  --with-perl             build Perl interface
  --with-odbc             build ODBC driver package
                          change default directory for odbcinst.ini
  --enable-cassert        enable assertion checks (debugging)
                          use specific C compiler
                          use specific C++ compiler
  --without-CXX           prevent building C++ code 

Some systems may have trouble building a specific feature of Postgres. For example, systems with a damaged C++ compiler may need to specify --without-CXX to instruct the build procedure to skip construction of libpq++.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group