Here's the config options I used for this database and server
./configure --enable-locale --enable-recode --enable-multibyte --enable-unicode-conversion
--with-maxbackends=64 --with-tcl --with-perl --with-openssl --with-CXX --enable-syslog
export LANG=C
/usr/local/pgsql/bin/initdb --encoding unicode -D usr/local/pgsql/data