Re: Trying to build x86 version on windows using meson

2024-03-22 Thread Andres Freund
Hi, On 2024-03-21 13:17:44 -0400, Dave Cramer wrote: > Attached correct log file Hm. So there's something a bit odd: > Build started at 2024-03-21T13:07:08.707715 > Main binary: C:\Program Files\Meson\meson.exe > Build Options: '-Dextra_include_dirs=c:\Program Files\OpenSSL-Win64\include' >

Re: Trying to build x86 version on windows using meson

2024-03-21 Thread Dave Cramer
Andres, On Thu, 21 Mar 2024 at 12:51, Andres Freund wrote: > Hi, > > On 2024-03-21 07:11:23 -0400, Dave Cramer wrote: > > It seems that attempting to cross-compile on an ARM machine might be > asking > > too much as the use cases are pretty limited. > > It for sure is if you don't even provide

Re: Trying to build x86 version on windows using meson

2024-03-21 Thread Andres Freund
Hi, On 2024-03-21 07:11:23 -0400, Dave Cramer wrote: > It seems that attempting to cross-compile on an ARM machine might be asking > too much as the use cases are pretty limited. It for sure is if you don't even provide the precise commands and logs of a failed run... > So the impetus for this

Re: Trying to build x86 version on windows using meson

2024-03-21 Thread Dave Cramer
On Thu, 21 Mar 2024 at 03:56, Peter Eisentraut wrote: > On 20.03.24 22:49, Dave Cramer wrote: > > > > > > > > On Wed, 20 Mar 2024 at 17:11, Andres Freund > > wrote: > > > > Hi, > > > > On 2024-03-20 16:14:23 -0400, Dave Cramer wrote: > > > I am getting

Re: Trying to build x86 version on windows using meson

2024-03-21 Thread Peter Eisentraut
On 20.03.24 22:49, Dave Cramer wrote: On Wed, 20 Mar 2024 at 17:11, Andres Freund > wrote: Hi, On 2024-03-20 16:14:23 -0400, Dave Cramer wrote: > I am getting the following error > > meson.build:1479:17: ERROR: Can not run test applications

Re: Trying to build x86 version on windows using meson

2024-03-20 Thread Andrew Dunstan
On Wed, Mar 20, 2024 at 6:21 PM Andres Freund wrote: > Hi, > > On 2024-03-21 11:02:27 +1300, David Rowley wrote: > > On Thu, 21 Mar 2024 at 11:00, Andres Freund wrote: > > > > > > On 2024-03-20 17:49:14 -0400, Dave Cramer wrote: > > > > First off this is on an ARM64 machine > > > > > > Uh,

Re: Trying to build x86 version on windows using meson

2024-03-20 Thread Andres Freund
Hi, On 2024-03-21 11:02:27 +1300, David Rowley wrote: > On Thu, 21 Mar 2024 at 11:00, Andres Freund wrote: > > > > On 2024-03-20 17:49:14 -0400, Dave Cramer wrote: > > > First off this is on an ARM64 machine > > > > Uh, that's a fairly crucial bit - you're actually trying to cross compile > >

Re: Trying to build x86 version on windows using meson

2024-03-20 Thread David Rowley
On Thu, 21 Mar 2024 at 11:00, Andres Freund wrote: > > On 2024-03-20 17:49:14 -0400, Dave Cramer wrote: > > First off this is on an ARM64 machine > > Uh, that's a fairly crucial bit - you're actually trying to cross compile > then. I don't know much about cross compiling on windows, so it's

Re: Trying to build x86 version on windows using meson

2024-03-20 Thread Andres Freund
Hi, On 2024-03-20 17:49:14 -0400, Dave Cramer wrote: > On Wed, 20 Mar 2024 at 17:11, Andres Freund wrote: > > On 2024-03-20 16:14:23 -0400, Dave Cramer wrote: > > > I am getting the following error > > > > > > meson.build:1479:17: ERROR: Can not run test applications in this cross > > >

Re: Trying to build x86 version on windows using meson

2024-03-20 Thread Andres Freund
Hi, On 2024-03-20 16:14:23 -0400, Dave Cramer wrote: > I am getting the following error > > meson.build:1479:17: ERROR: Can not run test applications in this cross > environment. > > Have configured for amd64_x86 > > Running `meson setup --wipe build --prefix=c:\postgres86` This is not enough

Trying to build x86 version on windows using meson

2024-03-20 Thread Dave Cramer
Greetings, I am getting the following error meson.build:1479:17: ERROR: Can not run test applications in this cross environment. Have configured for amd64_x86 Running `meson setup --wipe build --prefix=c:\postgres86` The docs say it is possible to build postgres for x86. Are there specific