From: | Srinath Reddy Sadipiralla <srinath(dot)reddy(at)zohocorp(dot)com> |
---|---|
To: | "Mark Hill" <Mark(dot)Hill(at)sas(dot)com> |
Cc: | "pgsql-hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Building Postgres 17.0 with meson |
Date: | 2024-11-06 05:34:22 |
Message-ID: | 192fff77b94.4955a1d79589.6007747646174771498@zohocorp.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
---- On Wed, 06 Nov 2024 09:59:37 +0530 Mark Hill <Mark(dot)Hill(at)sas(dot)com> wrote ---
I’m trying to build Postgres 17.0 and have about learning meson as I go.
The build setup command I have so far is:
meson setup build --prefix=%prefix% --buildtype=release -Dssl=auto -Dzlib=auto -Dicu=auto
but I believe that cmd expects ssl, zlib, and icu to be installed in default locations.
How do I specify to meson that I want it to use the versions of those 3 software packages that I have built
e.g. the openssl I want it to use is located in D:\Postgres-Builds\OpenSSL\OpenSSL-Install\OpenSSL-3.1.6-wx6
and similar locations for icu and zlib?
Thanks, Mark
Specify the lib's paths in "-Dextra_lib_dirs" during meson setup
e.g. meson setup build --prefix=%prefix% --buildtype=release -Dextra_lib_dirs=D:\Postgres-Builds\OpenSSL\OpenSSL-Install\OpenSSL-3.1.6-wx6
https://www.postgresql.org/docs/current/install-meson.html#CONFIGURE-EXTRA-LIB-DIRS-MESON
Regards,
Srinath Reddy Sadipiralla
Member Technical Staff
ZOHO
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2024-11-06 05:48:31 | Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible |
Previous Message | Amit Kapila | 2024-11-06 05:22:58 | Re: Pgoutput not capturing the generated columns |