Mac OS X

Started by Tom Allisonover 18 years ago4 messagesgeneral
Jump to latest
#1Tom Allison
tom@tacocat.net

I tried to install postgres onto my macbook via 'fink' and don't like
it all that much.
I decided to install from source, it's a fallback to my slackware days.

But fink already created a user postgres and I can't seem to find
anything to change it's configuration settings for shell, home
director...

If anyone has suggestions I would appreciate it.

Also, does anyone know of a more current installation write-up for
Mac other than what Apple provides? It's written around 7.4 and I'm
not sure it's going to be optimal.

#2Adam Witney
awitney@sgul.ac.uk
In reply to: Tom Allison (#1)
Re: Mac OS X

I tried to install postgres onto my macbook via 'fink' and don't like
it all that much.
I decided to install from source, it's a fallback to my slackware days.

But fink already created a user postgres and I can't seem to find
anything to change it's configuration settings for shell, home
director...

Im not sure how fink adds the user, but try NetInfo Manager (In
Applications/Utlilities). If the user is not there, then it might be in
/etc/passwd as for other Unix OS's

Also, does anyone know of a more current installation write-up for
Mac other than what Apple provides? It's written around 7.4 and I'm
not sure it's going to be optimal.

PostgreSQL has been building out of the box on OSX since at least the later
7.4.x series, but certainly all of the 8.x series. So you should just follow
the installation instructions for Unix in the INSTALL file that comes with
the source.

If you have any problems then post the errors back to the list and someone
should be able to help...

Cheers

Adam

#3Alexander Staubo
alex@purefiction.net
In reply to: Tom Allison (#1)
Re: Mac OS X

On 7/12/07, Tom Allison <tom@tacocat.net> wrote:

I tried to install postgres onto my macbook via 'fink' and don't like
it all that much.
I decided to install from source, it's a fallback to my slackware days.

Try MacPorts (http://www.macports.org/), a modern BSD-style ports
system for OS X. The PostgreSQL port sets up everything except initdb,
and installs a launchd script for controlling the postmaster daemon:

$ port install postgresql82-server

MacPorts has a good selection of support packages -- PostGIS, language
bindings, etc.

One advantage of using MacPorts is that, quite unlike Debian's
packages, ports are incredibly easy to write -- each port is just a
small text file. If the sources have a reasonably modern layout
(tarball, configure script, makefile), it's around three lines in
addition to the package name, description etc. MacPorts handles the
downloading, compiling, staging, file tracking, uninstallation and so
on. So if MacPorts doesn't have a package you want, you can still
install it from source and have it integrated into the MacPorts
universe.

Alexander.

#4Aurynn Shaw
ashaw@commandprompt.com
In reply to: Tom Allison (#1)
Re: Mac OS X

I tried to install postgres onto my macbook via 'fink' and don't
like it all that much.
I decided to install from source, it's a fallback to my slackware
days.

But fink already created a user postgres and I can't seem to find
anything to change it's configuration settings for shell, home
director...

If anyone has suggestions I would appreciate it.

Also, does anyone know of a more current installation write-up for
Mac other than what Apple provides? It's written around 7.4 and
I'm not sure it's going to be optimal.

Personally, I use the PG package available on http://www.entropy.ch/
software/macosx/postgresql/. It worked flawlessly, set up initdb, and
configured PG to start at boot time.

Thanks,
Aurynn Shaw

The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 ext 103
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

ashaw@commandprompt.com