How to Build Postgres in a Portable / Relocatable fashion?

From: AJ ONeal <coolaj86(at)proton(dot)me>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: How to Build Postgres in a Portable / Relocatable fashion?
Date: 2024-05-03 22:57:19
Message-ID: v_-p47epUmnjcXPhpH9dygB6PKkwhLsccfj7o0snGd-GNubV138HZaU1YvAcyoqeQ4pqcT20hgHbmVlwaYXpcWDZ_iDCREz1A8hkkEDYdF8=@proton.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Back in the good old days there was official 1st-party support for Linux:
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

Those binaries could be tar xvf​'d and used without any fuss or muss, from any location, on any distro.

I'm the core maintainer of https://webinstall.dev/ and I'm thinking to break our "official builds only" rule because, well, I haven't been able to find any way to get up-to-date builds from an official channel - and apt​ is always half-a-decade out-of-date (part of the reason for Webi, but Webi is far worse in this case, stuck at v10).

Could I get some help on how to do that?
Are the old build processes documented somewhere? Or are there some scripts in a far corner of the Internet that could still do that?

Or what options might I need to pass to ./configure to get it to build with relative locations?
I'm not a C developer, and I'm not familiar with C build tools beyond ./configure; make; sudo make install​.

I'd really appreciate some direction on this. Thanks.

AJ ONeal

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-05-03 23:09:21 Re: How to Build Postgres in a Portable / Relocatable fashion?
Previous Message Isaac Morland 2024-05-03 22:08:25 Re: \dt shows table but \d <table> says the table doesn't exist ?