Forum OpenACS Q&A: Re: Installing Postgresql

Collapse
Posted by Iuri Sampaio on
hi phil
as you already wrote above, you need to install gcc compiler. wasn't ubuntu suposed to come with gcc installed?

anyway,
just google it and you will find good sources about ubuntu like tihs one:
http://ubuntuforums.org/archive/index.php/t-7527.html

then let us know how was pg installation! You can follow the pg installation tutorial written by Vinod.

So far, I've installed PG7.4 and PG8.1 on Madriva, Debian, and Solaris. All them worked well with the tutorial

https://openacs.org/doc/current/postgres.html

Collapse
Posted by Iuri Sampaio on
More info about ubuntu/debian installation
https://openacs.org/xowiki/Debian_Ubuntu_installer_developing
Collapse
Posted by phil phil on
hi iuri sampaio,
Thank you very much !!!
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!