Hi,
Looking at the Ubuntu requirements:
sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt-dev libssl-dev libxml2-utils xsltproc
I note there are quite a few additional packages required to build PostgreSQL with all configure features/options.
Could it be an idea to list those as well, maybe a map showing what packages are needed for each --with/--enable option?
Here are all the packages I needed to build with almost all features/options enabled on Ubuntu 20.04.2 LTS:
liblog-agent-perl lcov systemtap-sdt-dev llvm clang pkg-config libicu-dev libxml2-dev liblz4-dev libreadline-dev bison flex python-is-python3 zlib1g-dev libkrb5-dev libssl-dev libgss-dev libpam0g-dev libxslt1-dev libldap2-dev libsystemd-dev gettext tcl tcl-dev libperl-dev libpython3.8-dev libipc-run-perl dbtoepub fop libxml2-utils xsltproc libterm-table-perl libterm-readkey-perl libterm-size-any-perl
This list was derived using a little tool [1] I created for the specific purpose of finding suitable -dev Ubuntu packages to build any project, instead of having to download and compile all such dependencies manually.
If we think such a map between --with/--enable option and package(s), I volunteer to put together such a list, to be included in the Wiki.