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

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема https://wiki.postgresql.org/wiki/Compile_and_Install_from_source_code
Дата
Msg-id 70692e3f-13ce-4cfd-a615-a02efa5a499b@www.fastmail.com
обсуждение исходный текст
Ответы Re: https://wiki.postgresql.org/wiki/Compile_and_Install_from_source_code  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Re: https://wiki.postgresql.org/wiki/Compile_and_Install_from_source_code  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список 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.


Kind regards,

Joel

В списке pgsql-www по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: I would like editor access to the wiki...
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: "Resend email" gave me a "does not exist" message