From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tristan Partin <tristan(at)partin(dot)io> |
Subject: | Re: zlib detection in Meson on Windows broken? |
Date: | 2024-05-22 17:18:07 |
Message-ID: | CA+OCxoyNkm1t0PvVwkjyrfnUdzdSGyGDpynG5yrqDm5m_F2W=g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 22 May 2024 at 17:50, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
> Hi,
>
> On Wed, 22 May 2024 at 17:21, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> >
> > Hi
> >
> > On Wed, 22 May 2024 at 14:11, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
> wrote:
> >>
> >>
> >> I tried to install your latest zlib artifact (nmake one) to the
> >> Windows CI images (not the official ones) [1]. Then, I used the
> >> default meson.build file to build but meson could not find the zlib.
> >> After that, I modified it like you suggested before; I used a
> >> 'cc.find_library()' to find zlib as a fallback method and it seems it
> >> worked [2]. Please see meson setup logs below [3], does something
> >> similar to the attached solve your problem?
> >
> >
> > That patch does solve my problem - thank you!
>
> I am glad that it worked!
>
> Do you think that we need to have this patch in the upstream Postgres?
> I am not sure because:
> - There is a case that meson is able to find zlib but tests fail.
> - This might be a band-aid fix rather than a permanent fix.
Yes I do:
- This is the documented way to build/install zlib on Windows.
- The behaviour with the patch matches <= PG16
- The behaviour with the patch is consistent with OpenSSL detection, and
(from a quick, unrelated test), libxml2 detection.
Thanks!
>
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2024-05-22 17:22:47 | Re: Virtual generated columns |
Previous Message | Nazir Bilal Yavuz | 2024-05-22 16:49:50 | Re: zlib detection in Meson on Windows broken? |