public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: AJ ONeal <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: How to Build Postgres in a Portable / Relocatable fashion?
Date: Fri, 03 May 2024 22:44:23 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <UsfgvLLt8VkL8nBwR4MDOqw89Y6OChvbXDoOWn74C3zNMByBOY9UPG8W_lWN8c2eEPut4svGmCAX4_82oZfC87gISSMp2jhctSkeMejgwAw=@proton.me>
References: <v_-p47epUmnjcXPhpH9dygB6PKkwhLsccfj7o0snGd-GNubV138HZaU1YvAcyoqeQ4pqcT20hgHbmVlwaYXpcWDZ_iDCREz1A8hkkEDYdF8=@proton.me>
	<[email protected]>
	<rjf-sGbM2HPV0EZuoN9yA4GDL9CqVCD2AzkwyByjKmF5mGstw6TrqT_5OIC1yPvfSAsjyE30Y4i4Oojq5nwQXtjdFVF7dx0cXxJgSBARBV8=@proton.me>
	<[email protected]>
	<UsfgvLLt8VkL8nBwR4MDOqw89Y6OChvbXDoOWn74C3zNMByBOY9UPG8W_lWN8c2eEPut4svGmCAX4_82oZfC87gISSMp2jhctSkeMejgwAw=@proton.me>

AJ ONeal <[email protected]> writes:
> It seems like the first bit of magic I need is:
> `--prefix=/doesntexist/postgres`

No, you want an actual path so that "make install" will succeed.
The point is that then you can tar up that installation tree
(relative to its top) and untar it somewhere else.

> I'd like to build as much static as possible (or reasonable). Is there a way to tell it "just include openssl"?

No, and are you really sure you want that?  Then it's on you to
rebuild and redistribute, pronto, every time openssl issues a security
fix.  There's a reason why most Linux distros forbid static linking of
libraries from different sources.

			regards, tom lane






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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: How to Build Postgres in a Portable / Relocatable fashion?
  In-Reply-To: <[email protected]>

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

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