Christoph Lange <lucky78@gmx.net> writes:
> uranus% ./configure --prefix=/home/lange/pgsql/arch_ind
> --exec-prefix=/home/lange/pgsql/arch_dep
> uranus% gmake
> uranus% gmake install
> uranus% mkdir /home/lange/pgsql/data
> uranus% chown lange /home/lange/pgsql/data
> uranus% su - lange
> uranus% chmod u+x /home/lange/pgsql/postgresql-7.0.3/src/bin/initdb/initdb
> uranus% home/lange/pgsql/postgresql-7.0.3/src/bin/initdb/initdb -D
> ~/pgsql2/data
Um, that initdb is not the one you just built and installed; the one you
just built and installed is somewhere under /home/lange/pgsql/arch_ind.
Or possibly /home/lange/pgsql/arch_dep, not sure whether exec_prefix
works in 7.0. But either way you do not want to invoke it from the
source tree. Doing so will confuse it about where to find the postmaster.
regards, tom lane