Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFgnV-0001s3-RF for pgsql-general@arkaria.postgresql.org; Thu, 25 Oct 2018 14:39:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gFgnS-0003P8-Gp for pgsql-general@arkaria.postgresql.org; Thu, 25 Oct 2018 14:39:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFgnR-0003Ox-Pj for pgsql-general@lists.postgresql.org; Thu, 25 Oct 2018 14:39:38 +0000 Received: from sonic303-3.consmr.mail.bf2.yahoo.com ([74.6.131.42]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFgnO-00066y-0Q for pgsql-general@postgresql.org; Thu, 25 Oct 2018 14:39:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1540478372; bh=J6zCpuMQD01Z6tBJA3pvTAz7lQ7UZeWhrGb8MpGlZqY=; h=Date:From:To:Cc:Subject:References:From:Subject; b=PblTvUOFqYhoAf1GwfK+h9W7MP36vMcAU/nAbyj13qSd6GhiTJ2Eu7BOBc4n8yeCRoDuQAI+/2EBIgY7/1ltiFZukumAEyfLEubBEWPO1X1yXBZ/HecSzzAwNnfPOEEnXtA9G95qz+/0EXpk+8gKoDzjw53zH/zpNXeX8Ia16p49uTfOzk4t/YAJ4WnB5ENEWnLvnmb+IlwfuSuavp+/Nag28qE5PdnWgo/HvNWd1KAfEtUQMjZDotQPh/Ho7bzfaNIi5peya8kiuhbdrrG6JW+Twq7k9ySbu/j4Y5pOCEY7g2H1/K/aFs8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EL3eYbvHs_BAS9N4- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Thu, 25 Oct 2018 14:39:32 +0000 Date: Thu, 25 Oct 2018 14:39:29 +0000 (UTC) From: Ravi Krishna To: pratik.p.parikh@gmail.com, don@seiler.us Cc: pgsql-general@postgresql.org Message-ID: <1959633047.16132576.1540478369523@mail.yahoo.com> Subject: Re: Compile and build portable postgresql for mac MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16132575_1089513672.1540478369522" References: <1959633047.16132576.1540478369523.ref@mail.yahoo.com> X-Mailer: WebService/1.1.12512 aolandroid Mozilla/5.0 (Linux; Android 7.0; SM-T580 Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Safari/537.36 AolApp/5.6.4.2092 tablet Content-Length: 3315 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_16132575_1089513672.1540478369522 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Your best bet in mac is to use docker. On Thursday, October 25, 2018 Pratik Parikh wro= te: Thanks, I'll check them out.=C2=A0 But what I am trying to produce is a zip= distribution fo Mac is x similar to the one available on postgresql downlo= ad site. Homebrew works but it ties the libpg to prefix if the path where l= ibs 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 wrote: On Wed, Oct 24, 2018 at 7:22 PM Pratik Parikh w= rote: =C2=A0 =C2=A0 =C2=A0How to compile and build portable postgresql for mac.= =C2=A0 Can someone point me how the builds are done for general distributio= n.=C2=A0 A script would be appreciated if anyone has it.=C2=A0=C2=A0 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 Homebr= ew scripts that you can plug into:=C2=A0https://github.com/petere/homebrew-= postgresql I've recently switched to pgenv, which provides a clean CLI for building an= d using all the various supported versions:=C2=A0https://github.com/theory/= pgenv=C2=A0 Don. --=20 Don Seiler www.seiler.us -- Sent from tablet. ------=_Part_16132575_1089513672.1540478369522 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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.

------=_Part_16132575_1089513672.1540478369522--