public inbox for [email protected]  
help / color / mirror / Atom feed
From: Srinath Reddy Sadipiralla <[email protected]>
To: Mark Hill <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: Building Postgres 17.0 with meson
Date: Wed, 06 Nov 2024 11:04:22 +0530
Message-ID: <[email protected]> (raw)
In-Reply-To: <DM6PR05MB5083D556B128E9FFA36E6400EE532@DM6PR05MB5083.namprd05.prod.outlook.com>
References: <DM6PR05MB5083D556B128E9FFA36E6400EE532@DM6PR05MB5083.namprd05.prod.outlook.com>

---- On Wed, 06 Nov 2024 09:59:37 +0530 Mark Hill <[email protected]> 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

view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Building Postgres 17.0 with meson
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox