Re: FW: Building Postgres 17.0 with meson - Mailing list pgsql-hackers

From Nazir Bilal Yavuz
Subject Re: FW: Building Postgres 17.0 with meson
Date
Msg-id CAN55FZ3gTmM0v3UYKm0L1qZE-HmMe28YgV6YEFBMg_4TPz7pEg@mail.gmail.com
Whole thread Raw
In response to Building Postgres 17.0 with meson  (Mark Hill <Mark.Hill@sas.com>)
Responses RE: FW: Building Postgres 17.0 with meson
List pgsql-hackers
Hi,

On Wed, 13 Nov 2024 at 18:17, Mark Hill <Mark.Hill@sas.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



pgsql-hackers by date:

Previous
From: Tony Wayne
Date:
Subject: Fwd: pgsql-hackers@postgresql.org VS pgsql-hackers@lists.postgresql.org
Next
From: Alvaro Herrera
Date:
Subject: Re: .ready and .done files considered harmful