That's no bug of PostgreSQL or even gmake.
You have to execute the gmake install command as user root or use
destination directories you can write to as regular user.
Greetings,
Matthias
> -----Original Message-----
> From: pgsql-bugs-owner@postgresql.org
> [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of Jessica
> Sent: Tuesday, December 19, 2006 10:44 PM
> To: pgsql-bugs@postgresql.org
> Subject: [BUGS] BUG #2844: gmake install fails
>
>
>
> The following bug has been logged online:
>
> Bug reference: 2844
> Logged by: Jessica
> Email address: hxq7681@rit.edu
> PostgreSQL version: 8.2
> Operating system: Unix
> Description: gmake install fails
> Details:
>
> bash-3.00$ gmake install
> gmake -C doc install
> gmake[1]: Entering directory `/home/group/s772/p772-01f/pgsql/doc'
> gmake[1]: Nothing to be done for `install'.
> gmake[1]: Leaving directory `/home/group/s772/p772-01f/pgsql/doc'
> gmake -C src install
> gmake[1]: Entering directory `/home/group/s772/p772-01f/pgsql/src'
> /bin/sh ../config/mkinstalldirs '/usr/local/pgsql/lib/pgxs/src'
> mkdir /usr/local/pgsql
> mkdir: Failed to make directory "/usr/local/pgsql"; Permission denied
> mkdir /usr/local/pgsql/lib
> mkdir: Failed to make directory "/usr/local/pgsql/lib"; No
> such file or
> directory
> mkdir /usr/local/pgsql/lib/pgxs
> mkdir: Failed to make directory "/usr/local/pgsql/lib/pgxs";
> No such file or
> directory
> mkdir /usr/local/pgsql/lib/pgxs/src
> mkdir: Failed to make directory
> "/usr/local/pgsql/lib/pgxs/src"; No such
> file or directory
> gmake[1]: *** [installdirs-local] Error 2
> gmake[1]: Leaving directory `/home/group/s772/p772-01f/pgsql/src'
> gmake: *** [install] Error 2
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org
> so that your
> message can get through to the mailing list cleanly
>