Re: Rookie in installation-trouble -> PLEEEASE HELP - Mailing list pgsql-admin

From Tom Lane
Subject Re: Rookie in installation-trouble -> PLEEEASE HELP
Date
Msg-id 21985.983473201@sss.pgh.pa.us
Whole thread Raw
In response to Rookie in installation-trouble -> PLEEEASE HELP  (Christoph Lange <lucky78@gmx.net>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Rookie in installation-trouble -> PLEEEASE HELP
Next
From: Craig McDaniel
Date:
Subject: No UDP(5432) For You!