Forum OpenACS Q&A: Re: Installing Postgresql

Collapse
3: Re: Installing Postgresql (response to 1)
Posted by Iuri Sampaio on
Thanks Steve.
I found out the bug.
I'd pasted the command line: source $HOME/.bashrc, in the wrong file.
I'd tought bashrc and bash_profile were the same file.
Now it's working fne

there is a bug on the documentation step 4
https://openacs.org/doc/current/postgres.html

the first block where it says:
[root src]# su - postgres
[postgres ~] emacs ~postgres/.bashrc

Paste this line into .bash_profile:

source $HOME/.bashrc

Paste these lines into .bashrc:

export PATH=/usr/local/bin/:$PATH:/usr/local/pgsql/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib

This is confusing because the user could think that bash_profile and bashrc are th same file. Once he already open the bashrc on emacs

did you understand what i said?
where can i posted that to someone update the documentation?

iuri