From: | Yasir <yasir(dot)hussain(dot)shah(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Cc: | Dave Cramer <davecramer(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Imran Zaheer <imran44dev(at)gmail(dot)com> |
Subject: | Re: errors building on windows using meson |
Date: | 2024-07-16 10:47:18 |
Message-ID: | CAA9OW9dX+=ovjYZGaiydcKcd=NA89JQ6EHKCLA0HqHonQ8mVOQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, May 28, 2024 at 8:50 PM Imran Zaheer <imran44dev(at)gmail(dot)com> wrote:
> Hi
>
> I was facing the same error when using active state perl for compiling
> postgres with meson on windows. I used active state perl because it was
> working fine for pg compilations until pg-16.
>
> Using choco strawberry perl solved my problem.
>
> Thanks
>
> Imran Zaheer
>
> On Wed, 29 May 2024 at 00:22, Dave Cramer <davecramer(at)gmail(dot)com> wrote:
>
>>
>> On Thu, 7 Dec 2023 at 14:34, Andres Freund <andres(at)anarazel(dot)de> wrote:
>>
>>> Hi,
>>>
>>> On 2023-12-07 14:16:52 -0500, Dave Cramer wrote:
>>> > On Thu, 7 Dec 2023 at 13:53, Andres Freund <andres(at)anarazel(dot)de> wrote:
>>> >
>>> > > Hi,
>>> > >
>>> > > On 2023-12-07 12:54:27 -0500, Dave Cramer wrote:
>>> > > > state-exec: run failed: cannot create new executor meta: cannot get
>>> > > > matching bin by path: no matching binary by path
>>> > > >
>>> > >
>>> "C:\\Users\\Administrator\\AppData\\Local\\activestate\\cache\\b9117b06\\exec\\perl.EXE"
>>> > > > state-exec: Not user serviceable; Please contact support for
>>> assistance.
>>> > > >
>>> > > > anyone seen this or have a fix ?
>>> > >
>>>
>>
I am facing the same issue while compiling the pg17. I have resolved this
issue by installing perl from "https://strawberryperl.com/".
In addition to installing the strawberry's perl, I had to adjust the
environment variable PATH values. That is, I had to give higher priority to
strawberry's perl bin paths.
(Please note that I haven't removed activestate's perl, or mingw's perl. So
whenever, I will need to build pg16 or lower, I have to
readjust activestate's perl bin path in the environment variable.)
> > I've not seen that before. Please provide a bit more detail. Compiler,
>>> > > building with ninja or msbuild/visual studio, when exactly you're
>>> > > encountering
>>> > > the issue, ...
>>> > >
>>> > > Windows Server 2019
>>> > VS 2019
>>> > building with ninja
>>>
>>> I don't think this is sufficient detail to provide you with advice / fix
>>> problems / whatnot. Please provide complete logs of configuring and
>>> building.
>>>
>>
>> I built perl from source and it worked.
>>
>> Dave
>>
>>
>>
>>>
>>> - Andres
>>>
>>
From | Date | Subject | |
---|---|---|---|
Next Message | Rajan Pandey | 2024-07-16 10:49:44 | Why is 'use_alias' hardcoded to true in deparseFromExprForRel() for some cases |
Previous Message | Peter Smith | 2024-07-16 10:02:21 | Re: Slow catchup of 2PC (twophase) transactions on replica in LR |