Re: Postgres compilation instructions do not work on modern debian or ubuntu

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: lewis+postgres(at)cowles(dot)uk
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Postgres compilation instructions do not work on modern debian or ubuntu
Date: 2024-01-01 19:23:58
Message-ID: 3956214.1704137038@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> Page: https://www.postgresql.org/docs/16/install-make.html
> Description:

> Thanks for all your hard work, postgres is amazing. Small suggestion for
> installation instructions on debian / ubuntu boxes:

> apt install -yqq build-essential libreadline-dev zlib1g-dev flex bison
> libxml2-dev libxslt-dev libssl-dev libxml2-utils xsltproc ccache git
> libicu-dev pkg-config

> works, what is listed misses git, libicu-dev and pkg-config

There is nothing in the core PG documentation, either on the page
you cite or anyplace else, that tries to specify exactly what other
packages you might need to build from source on any particular
distribution. We aren't very interested in trying to add such lists,
precisely because they'd be constantly out of date.

You might have found the above list somewhere else, but in that case
you should be reporting the omissions somewhere else than here.

> Even with the above, make world and make world-bin and make check, do not
> succeed on arm64, so I've no idea if the build is reporting success, but
> silently failing (I get return code zero, so it should pass a compile in
> CI)

Can't help you on that when you provide no details. PG certainly
does work for many other people on Debian+arm64.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2024-01-02 04:12:30 Problems when using unaccent
Previous Message Dull Bananas 2024-01-01 18:43:35 Re: Transition relation clarification