Forum OpenACS Q&A: Re: Installing Postgresql

Collapse
Posted by phil phil on
After installing the gcc compiler, i'm trying to install postgres following the installation tutorial by Vinod. I still got this error when i executed "make install".
**********************************************************
make[3]: Leaving directory `/usr/local/src/postgresql-7.4.7/src/backend/utils'
/bin/sh ../../config/install-sh -c postgres /usr/local/pgsql/bin/postgres
cp: cannot create regular file `/usr/local/pgsql/bin/<span>#</span>inst.24827#': Permission denied
make[2]: *** [install-bin] Error 1
make[2]: Leaving directory `/usr/local/src/postgresql-7.4.7/src/backend'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/src/postgresql-7.4.7/src'
make: *** [install] Error 2
**********************************************************
Thanks for your help again...
Collapse
Posted by Iuri Sampaio on
it seems the directory is blocked to write permisions.

as root user you can run
chmod -R 755 /usr/local/pgsql

maybe it could be simple like that!