Simple question here.
Quote from the PostgreSQL Getting Started guide:
PostgreSQL can be installed by any unprivileged user; no superuser (root) access is required.
Instructions on the PostgreSQL Installation Procedure:
./configure
gmake
su
gmake install
…
Notice that ‘su’ in there? It requires superuser access. I rest my case. The install fails without it. I need to be able to install it without superuser access, as it says I’m supposed to be able to do.
Try
./configure --help. It should have a--prefixoption to install somewhere that doesn’t require superuser access, and then you won’t need thesu.