Re: FW: Building Postgres 17.0 with meson

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Mark Hill <Mark(dot)Hill(at)sas(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: FW: Building Postgres 17.0 with meson
Date: 2024-11-13 15:51:42
Message-ID: CAN55FZ3gTmM0v3UYKm0L1qZE-HmMe28YgV6YEFBMg_4TPz7pEg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Wed, 13 Nov 2024 at 18:17, Mark Hill <Mark(dot)Hill(at)sas(dot)com> 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\OpenSSL\OpenSSL-Install\OpenSSL-3.1.6-wx6\include\openssl\ssl.h
> Volume in drive D is Data
> Volume Serial Number is 58B5-7193
>
> Directory of D:\Jenkins\workspace\workspace\Postgres-9.4\OpenSSL\OpenSSL-Install\OpenSSL-3.1.6-wx6\include\openssl
>
> 08/12/2024 04:22 PM 127,595 ssl.h
> 1 File(s) 127,595 bytes
> 0 Dir(s) 210,974,670,848 bytes free
>
> I don't know why meson cannot find the OpenSSL installation I've specified via the options:
> extra_lib_dirs
> extra_include_dirs

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\OpenSSL-3.1.6-wx6\include

--
Regards,
Nazir Bilal Yavuz
Microsoft

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2024-11-13 15:59:49 Re: Fix for pageinspect bug in PG 17
Previous Message Maxim Orlov 2024-11-13 15:44:44 Re: POC: make mxidoff 64 bits