第二十三章. 配置選項 內(nèi)容 配制參數(shù)?。╟onfigure) 制作參數(shù)(make) 本地化支持 Kerberos 認(rèn)證 用于配置的參數(shù)(configure) configure 里可用的參數(shù)集可以通過鍵入下面命令獲得 $ ./configure --help 下面的參數(shù)可能會引起安裝者的興趣: Directories to install PostgreSQL in(安裝 postgreSQL 的目錄): --prefix=PREFIX install architecture-independent files in PREFIX(把體系無關(guān)的文件裝在 PREFIX) [/usr/local/pgsql] --bindir=DIR user executables in DIR?。ㄓ脩舻目蓤?zhí)行文件裝在 DIR?。EPREFIX/bin] --libdir=DIR object code libraries in DIR?。繕?biāo)代碼庫在 DIR?。EPREFIX/lib] --includedir=DIR C header files in DIR (C 頭文件放在 DIR)[PREFIX/include] --mandir=DIR man documentation in DIR (手冊文檔在 DIR?。PREFIX/man] Features and packages(特性和包): --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)(不包含 FEATURE?。ǖ刃в凇?-enable-FEATURE=no)) --enable-FEATURE[=ARG] include FEATURE (包含 FEATURE?。ARG=yes] --with-PACKAGE[=ARG] use PACKAGE (使用 PACKAGE)[ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)(不使用 PACKAGE?。ǖ刃в凇?-with-PACKAGE=no)) --enable and --with options recognized(可識別的附加選項): --with-template=template use operating system template file(使用操作系統(tǒng)模板文件) see template directory(參閱模板目錄) --with-includes=dirs look for header files for tcl/tk, etc in DIRS(tk/tcl等的頭文件在 DIR) --with-libraries=dirs look for additional libraries in DIRS(在DIR里查找附加庫) --with-libs=dirs alternate spelling of --with-libraries(--with-libraries 的可選寫法) --enable-locale enable locale support(打開本地化支持) --enable-recode enable cyrillic recode support(打開西里爾字母(斯拉夫語言字母)記錄的支持) --enable-multibyte enable multibyte character support(打開多字節(jié)支持) --with-pgport=portnum change default postmaster port(更改缺省的啟動端口) --with-maxbackends=n set default maximum number of server processes?。ㄔO(shè)置缺省的最大服務(wù)器進(jìn)程數(shù)) --with-tcl build Tcl interfaces and pgtclsh(制作 Tcl 接口和 pgtclsh) --with-tclconfig=tcldir tclConfig.sh and tkConfig.sh are in DIR(tclConfig.sh 和 tkConfig.sh 在 DIR) --with-perl build Perl interface and plperl(制作 Perl 接口和plperl) --with-odbc build ODBC driver package(制作 ODBC 驅(qū)動包) --with-odbcinst=odbcdir change default directory for odbcinst.ini(為 odbcinst.ini 改變?nèi)笔÷窂剑? --enable-cassert enable assertion checks (for debugging)(打開斷言檢查?。ㄕ{(diào)試)) --enable-debug build with debugging symbols (-g)?。◣д{(diào)試符號(-g)制作) --with-CC=compiler use specific C compiler(使用聲明的 C 編譯器) --with-CXX=compiler use specific C++ compiler(使用聲明的 C++ 編譯器) --without-CXX prevent building C++ code (禁止制作 C++ 代碼) 有些系統(tǒng)在制作 Postgres 的一些特性時有問題.例如,有些系統(tǒng)的 C++ 編譯器壞了,可能就需要聲明 --without-CXX 告訴制作過程忽略 libpq++ 的制作. 如果你想用安裝在非相同標(biāo)準(zhǔn)查找路徑里的頭文件或庫制作 Postgres ,請使用 --with-includes 和 --with-libraries 選項.例如,你可能用這些制作一個實驗版本的 Tcl.如果你需要為頭文件或庫聲明超過一個的非標(biāo)準(zhǔn)目錄,這樣做: