Re: msvc directory missing in PostgreSQL 17.0

2024-10-28 Thread 黄铎彦
On 2024-10-28 09:42 GMT+8 Umar Hayat wrote: >[0] >https://www.postgresql.org/message-id/flat/CADK3HHLQ1MNmfXqEvQi36D_MQrheOZPcXv2H3s6otMbSmfwjzg%40mail.gmail.com It worked! Thank you Umar! My poor searching ability QwQ. But may be a small bug about the order of generation. After I first execute

Re: msvc directory missing in PostgreSQL 17.0

2024-10-27 Thread Umar Hayat
Hi, In my opinion the issue could be Active-state perl ( as I see in your log file, activestate perl path). In this thread [0] people faced same problem and solved it using strawberry perl. Regards Umar Hayat [0] https://www.postgresql.org/message-id/flat/CADK3HHLQ1MNmfXqEvQi36D_MQrheOZPcXv2H3s

Re: msvc directory missing in PostgreSQL 17.0

2024-10-27 Thread Andres Freund
Hi, On October 27, 2024 5:50:51 AM EDT, "huangdy2...@qq.com" wrote: >On Sun, 27 Oct 2024 at 17:38 GMT+8, 黄铎彦 wrote: > > >>That repo seems to be something like Github action. But I would like to >>generate sln and vcxproj files in my Windows PC, then open Visual Studio, >>compile and navigate

Re: msvc directory missing in PostgreSQL 17.0

2024-10-27 Thread huangdy2...@qq.com
On Sun, 27 Oct 2024 at 17:38 GMT+8, 黄铎彦 wrote: >That repo seems to be something like Github action. But I would like to >generate sln and vcxproj files in my Windows PC, then open Visual Studio, >compile and navigate. I used `meson setup --backend vs` but got compile error with the sln file.

Re: Re: msvc directory missing in PostgreSQL 17.0

2024-10-27 Thread huangdy2...@qq.com
On Sun, 27 Oct 2024 at 16:38 GMT+8, Dave Page wrote: >You can see how it’s done if you take a look at the actions in >https://github.com/dpage/winpgbuild. The postgresql-dev one is probably the >best example, as it only runs a single meson build, whilst the postgresql >action is a matrix buil

Re: msvc directory missing in PostgreSQL 17.0

2024-10-27 Thread Dave Page
-10-27 15:07:39 > *To: *"Mark Hill" > *Cc: *"pgsql-hackers@lists.postgresql.org" < > pgsql-hackers@lists.postgresql.org> > > *Subject: *Re: msvc directory missing in PostgreSQL 17.0 > > > Check out this: > Meson <https://wiki.postgresql.org/wiki/Meson&

Re: msvc directory missing in PostgreSQL 17.0

2024-10-27 Thread 黄铎彦
2 PM, Mark Hill wrote: Thanks Bill! Do you have a sample meson command for building that you could share? Thanks, Mark From: Bill Smith Sent: Friday, October 18, 2024 4:11 PM To: Mark Hill Cc: pgsql-hackers@lists.postgresql.org Subject: Re: msvc directory missing in PostgreSQL 17.0 EX

Re: msvc directory missing in PostgreSQL 17.0

2024-10-23 Thread Bill Smith
you could > share? > > Thanks, Mark > > From: Bill Smith <mailto:bill.sm...@enterprisedb.com>> > Sent: Friday, October 18, 2024 4:11 PM > To: Mark Hill mailto:mark.h...@sas.com>> > Cc: pgsql-hackers@lists.postgresql.org > <mailto:pgsql-hackers@lists.post

RE: msvc directory missing in PostgreSQL 17.0

2024-10-21 Thread Mark Hill
Thanks Bill! Do you have a sample meson command for building that you could share? Thanks, Mark From: Bill Smith Sent: Friday, October 18, 2024 4:11 PM To: Mark Hill Cc: pgsql-hackers@lists.postgresql.org Subject: Re: msvc directory missing in PostgreSQL 17.0 EXTERNAL On Oct 18, 2024

msvc directory missing in PostgreSQL 17.0

2024-10-18 Thread Mark Hill
I just downloaded the Postgresql 17.0 and the extracted directory postgresql-17.0/src/tools does not contain the "msvc" directory as it has since I've been building Postgres 12, 14, and 16. How am I supposed to build PostgreSQL for Windows now? I'm not sure what msvc_gendef.pl does. How do

Re: msvc directory missing in PostgreSQL 17.0

2024-10-18 Thread Bill Smith
> On Oct 18, 2024, at 4:05 PM, Mark Hill wrote: > > I just downloaded the Postgresql 17.0 and the extracted directory > postgresql-17.0/src/tools does not contain > the “msvc” directory as it has since I’ve been building Postgres 12, 14, and > 16. How am I supposed to build > PostgreSQL for