pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John DeSoi <desoi@pgedit.com>
To: jbar@es.co.nz
Cc: pgsql-admin@postgresql.org
Subject: Re: problems installing postgresql 8.0 on Mac OS
Date: Mon, 11 Jun 2007 20:28:13 -0400
Message-ID: <1D5459D9-C60A-4B08-928E-2C05D97AB3BF@pgedit.com> (raw)
In-Reply-To: <466de029.95.79b2.1870322655@ihug.co.nz>
References: <466de029.95.79b2.1870322655@ihug.co.nz>


On Jun 11, 2007, at 7:52 PM, jbar@es.co.nz wrote:

> The
> installer seemed to run fine, but afterward I find that
> there are no postgres
> files in my /sw/ directory. It has installed files in
> /Applications/ instead, but I
> suspect they are just gui front-ends.


/sw is just for Fink, so I would expect nothing to go there unless  
you are using Fink.

Which package did you download from sourceforge? I notice there are  
several variations and some might only have the client tools. It  
looks like you want the "PostgreSQL Unified Installer".

I downloaded the startup item package. It appears to install the  
server in /Library folder. Here is the startup line:

su -m postgres -c '/Library/PostgreSQL8/bin/pg_ctl start -D /Library/ 
PostgreSQL8/data -l /Library/PostgreSQL8/log/PostgreSQL8.log -o -i'


>  Both use source rather than
> binaries. Both show
> ./configure commands that will only work if I first have
> postgres installed
> either at /usr/local/src/ (which I believe is not a valid
> path) or /users/shared/,
> but I don't see any way for ./configure to work even if I
> pointed it at /
> Applications/PostgreSQL\ Folder/.

It does not matter where you put the source to compile it. Just  
change to the directory where the source is. And you can have it put  
the binaries wherever you want if you provide the --prefix option to  
make.

If you don't have Apple's developer tools installed (required to  
build from source), I suggest you ask sourceforge project admins for  
help on their list or forum. They just put out a new version, so I'm  
sure they would be interested to know if there are problems.

John




John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL




view thread (9+ messages)  latest in thread

Message-ID: <1D5459D9-C60A-4B08-928E-2C05D97AB3BF@pgedit.com>
Permalink:  ../1D5459D9-C60A-4B08-928E-2C05D97AB3BF@pgedit.com/
Also on:    postgresql.org/message-id/1D5459D9-C60A-4B08-928E-2C05D97AB3BF@pgedit.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: desoi@pgedit.com, jbar@es.co.nz
  Subject: Re: problems installing postgresql 8.0 on Mac OS
  In-Reply-To: <1D5459D9-C60A-4B08-928E-2C05D97AB3BF@pgedit.com>
  References: <466de029.95.79b2.1870322655@ihug.co.nz> <1D5459D9-C60A-4B08-928E-2C05D97AB3BF@pgedit.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox