Re: meson/msys2 fails with plperl/Strawberry

From: Andres Freund <andres(at)anarazel(dot)de>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: meson/msys2 fails with plperl/Strawberry
Date: 2023-03-27 17:18:50
Message-ID: 20230327171850.ye6edfyl7h366vyn@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2023-03-26 21:13:41 -0400, Andrew Dunstan wrote:
> > On Mar 26, 2023, at 5:28 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> >> On 2023-03-26 12:39:08 -0700, Andres Freund wrote:
> >> First: I am *not* arguing we shouldn't repair building against strawberry perl
> >> with mingw.
> >
> > Hm - can you describe the failure more - I just tried, and it worked to build
> > against strawberry perl on mingw, without any issues. All I did was set
> > -DPERL="c:/strawberrly/perl/bin/perl.exe".

> That might be the secret sauce I’m missing. I will be offline for a day or three, will test when I’m back.

It should suffice to put strawberry perl first in PATH. All that the -DPERL
does is to use that, instead of 'perl' from PATH. If putting strawberry perl
ahead in PATH failed, something else must have been going on...

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2023-03-27 17:28:42 Re: zstd compression for pg_dump
Previous Message Robert Haas 2023-03-27 17:17:30 Re: pgsql: amcheck: Fix verify_heapam for tuples where xmin or xmax is 0.