Re: FW: Building Postgres 17.0 with meson

2024-11-18 Thread Robert Haas
On Thu, Nov 14, 2024 at 2:55 PM Mark Hill wrote: > With openssl, zlib, and icu enabled in the setup, the ninja build fails > trying to link src/backend/postgres.exe. There are 40 unresolved > external symbol errors (see below.) I checked a few of the symbols and they > appear in the Postgres s

Re: FW: Building Postgres 17.0 with meson

2024-11-15 Thread Nazir Bilal Yavuz
Hi Mark, On Fri, 15 Nov 2024 at 16:01, Mark Hill wrote: > > On Wed, 14 Nov 2024 at 2:55PM(EST), Mark Hill wrote: > > > With openssl, zlib, and icu enabled in the setup, the ninja build fails > > trying to link src/backend/postgres.exe. > > There are 40 unresolved external symbol errors (see bel

RE: FW: Building Postgres 17.0 with meson

2024-11-14 Thread Mark Hill
On Wed, 13 Nov 2024 at 10:53AM(EST), Nazir Bilal Yavuz wrote: > I think that the problem is that you are setting '.../include/openssl' > as an include_dir not '.../include'. Could you please try: > set > openssl_include_dir=D:\Jenkins\workspace\workspace\Postgres-9.4\OpenSSL\OpenSSL-Install\Op

Re: FW: Building Postgres 17.0 with meson

2024-11-13 Thread Nazir Bilal Yavuz
Hi, On Wed, 13 Nov 2024 at 18:17, Mark Hill wrote: > > The error above says meson can't find openssl/ssl.h but it's there: > D:\Jenkins\workspace\workspace\Postgres-9.4\PostgreSQL\postgres-Source\buildPostgreSQL_wx6_17.0\postgresql-17.0>dir > > D:\Jenkins\workspace\workspace\Postgres-9.4\OpenSS

RE: FW: Building Postgres 17.0 with meson

2024-11-13 Thread Mark Hill
EXTERNAL On Wed, Nov 6, 2024 at 4:21 PM Robert Hass wrote: > I am not an expert on this topic, but do use these options on macOS and they > do work for me. A typical 'meson setup' invocation for me is: > meson setup $HOME/pgsql $HOME/pgsql-meson -Dcassert=true -Ddebug=true > -Dextra_include_di

Re: FW: Building Postgres 17.0 with meson

2024-11-06 Thread Robert Haas
On Wed, Nov 6, 2024 at 2:59 PM Mark Hill wrote: > Srinath is in India I believe and not available currently. Does anybody > have any idea why meson > > is not finding the paths I’m specifying with the -Dextra_lib_dirs and > -Dextra_include_dirs? See below. I am not an expert on this topic,

FW: Building Postgres 17.0 with meson

2024-11-06 Thread Mark Hill
nath Reddy Sadipiralla' Subject: RE: Building Postgres 17.0 with meson Hi Srinath, Thanks for the tip. I tried: meson setup build --prefix=%prefix% --buildtype=release -Dextra_lib_dirs=%openssl_directory%,%zlib_directory%,%icu4c_directory% -Dextra_include_dirs=%openssl_directory%,

Re: Building Postgres 17.0 with meson

2024-11-05 Thread Srinath Reddy Sadipiralla
On Wed, 06 Nov 2024 09:59:37 +0530 Mark Hill 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

Building Postgres 17.0 with meson

2024-11-05 Thread Mark Hill
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. H