errors building on windows using meson

Started by Dave Cramerabout 2 years ago7 messages
#1Dave Cramer
davecramer@gmail.com

Greetings,

Getting the following error:

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 ?

Dave Cramer

#2Andres Freund
andres@anarazel.de
In reply to: Dave Cramer (#1)
Re: errors building on windows using meson

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'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, ...

Greetings,

Andres Freund

#3Dave Cramer
davecramer@gmail.com
In reply to: Andres Freund (#2)
Re: errors building on windows using meson

On Thu, 7 Dec 2023 at 13:53, Andres Freund <andres@anarazel.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'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

Dave

Show quoted text

Greetings,

Andres Freund

#4Andres Freund
andres@anarazel.de
In reply to: Dave Cramer (#3)
Re: errors building on windows using meson

Hi,

On 2023-12-07 14:16:52 -0500, Dave Cramer wrote:

On Thu, 7 Dec 2023 at 13:53, Andres Freund <andres@anarazel.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'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.

- Andres

#5Dave Cramer
davecramer@gmail.com
In reply to: Andres Freund (#4)
Re: errors building on windows using meson

On Thu, 7 Dec 2023 at 14:34, Andres Freund <andres@anarazel.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@anarazel.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'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

Show quoted text

- Andres

#6Imran Zaheer
imran44dev@gmail.com
In reply to: Dave Cramer (#5)
Re: errors building on windows using meson

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@gmail.com> wrote:

Show quoted text

On Thu, 7 Dec 2023 at 14:34, Andres Freund <andres@anarazel.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@anarazel.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'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

#7Yasir
yasir.hussain.shah@gmail.com
In reply to: Imran Zaheer (#6)
Re: errors building on windows using meson

On Tue, May 28, 2024 at 8:50 PM Imran Zaheer <imran44dev@gmail.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@gmail.com> wrote:

On Thu, 7 Dec 2023 at 14:34, Andres Freund <andres@anarazel.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@anarazel.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/&quot;.
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.)

Show quoted text

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