pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ravi Krishna <srkrishna1@aol.com>
To: pratik.p.parikh@gmail.com
To: don@seiler.us
Cc: pgsql-general@postgresql.org
Subject: Re: Compile and build portable postgresql for mac
Date: Thu, 25 Oct 2018 14:39:29 +0000 (UTC)
Message-ID: <1959633047.16132576.1540478369523@mail.yahoo.com> (raw)
References: <1959633047.16132576.1540478369523.ref@mail.yahoo.com>


Your best bet in mac is to use docker.

On Thursday, October 25, 2018 Pratik Parikh <pratik.p.parikh@gmail.com> wrote:

Thanks, I'll check them out.  But what I am trying to produce is a zip distribution fo Mac is x similar to the one available on postgresql download site. Homebrew works but it ties the libpg to prefix if the path where libs are generated. I am trying to do some unit testing across more then one machine on an ongoing basis.

Hope that helps clear uo what I mean by portable.

On Thu, Oct 25, 2018, 9:31 AM Don Seiler <don@seiler.us> wrote:
On Wed, Oct 24, 2018 at 7:22 PM Pratik Parikh <pratik.p.parikh@gmail.com> wrote:
     How to compile and build portable postgresql for mac.  Can someone point me how the builds are done for general distribution.  A script would be appreciated if anyone has it.  

I'm not sure what you mean by "portable"? I'm going to answer assuming you just want to run postgres on your own Mac.

There are couple options. Peter Eisentraut has a great collection of Homebrew scripts that you can plug into: https://github.com/petere/homebrew-postgresql

I've recently switched to pgenv, which provides a clean CLI for building and using all the various supported versions: https://github.com/theory/pgenv 

Don.
-- 
Don Seiler
www.seiler.us

--
Sent from tablet.

view thread (5+ messages)

Message-ID: <1959633047.16132576.1540478369523@mail.yahoo.com>
Permalink:  ../1959633047.16132576.1540478369523@mail.yahoo.com/
Also on:    postgresql.org/message-id/1959633047.16132576.1540478369523@mail.yahoo.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-general@postgresql.org
  Cc: srkrishna1@aol.com, pratik.p.parikh@gmail.com, don@seiler.us
  Subject: Re: Compile and build portable postgresql for mac
  In-Reply-To: <1959633047.16132576.1540478369523@mail.yahoo.com>
  References: <1959633047.16132576.1540478369523.ref@mail.yahoo.com> <1959633047.16132576.1540478369523@mail.yahoo.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