rake failure

Ryan Schmidt ryandesign at macports.org
Sat Jun 20 14:01:42 PDT 2009


On Jun 19, 2009, at 13:18, SteveC wrote:

> Thanks. I think I put the mac to sleep half way through the install  
> and it got confused.

In general that shouldn't cause problems though.


> Now on installing postgres83-server, and following the instructions  
> post install, I get this
>
> $ sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D / 
> opt/local/var/db/postgresql83/defaultdb'
> shell-init: error retrieving current directory: getcwd: cannot  
> access parent directories: Permission denied
> could not identify current directory: Permission denied
> could not identify current directory: Permission denied
> could not identify current directory: Permission denied
> The program "postgres" is needed by initdb but was not found in the
> same directory as "initdb".
> Check your installation.
>
>
> Anyone have any clue?

You might want to re-post this question in a new thread with  
"postgresql" somewhere in the subject line, so people with expertise  
on this subject will be more likely to see it.



More information about the macports-users mailing list