https://wiki.postgresql.org/wiki/Compile_and_Install_from_source_code

From: "Joel Jacobson" <joel(at)compiler(dot)org>
To: pgsql-www(at)postgresql(dot)org
Subject: https://wiki.postgresql.org/wiki/Compile_and_Install_from_source_code
Date: 2021-05-09 09:37:16
Message-ID: 70692e3f-13ce-4cfd-a615-a02efa5a499b@www.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

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.

[1] https://github.com/truthly/magicmake

Kind regards,

Joel

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Justin Pryzby 2021-05-11 12:32:20 Re: "Resend email" gave me a "does not exist" message
Previous Message Stephen Frost 2021-05-08 20:33:32 Re: I would like editor access to the wiki...