Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tS7Rm-00EAzy-Ff for pgsql-general@arkaria.postgresql.org; Mon, 30 Dec 2024 04:32:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tS7Rk-009hUC-59 for pgsql-general@arkaria.postgresql.org; Mon, 30 Dec 2024 04:32:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tS7Rj-009hU4-IR for pgsql-general@lists.postgresql.org; Mon, 30 Dec 2024 04:32:03 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tS7Rh-001CME-2c for pgsql-general@lists.postgresql.org; Mon, 30 Dec 2024 04:32:02 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-21634338cfdso163844105ad.2 for ; Sun, 29 Dec 2024 20:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735533121; x=1736137921; darn=lists.postgresql.org; h=content-transfer-encoding:disposition-notification-to:subject :content-language:from:to:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=b7lRYMJGWAGJwzk4rf3/ohBMAzsjH1WmUejViH4uCjI=; b=BrbPz22KUTtv/1VpI+rA7Doc6j7svriyUYErWdYlFrkwmhwne96Uw1FaGrgsjqsbJz O/UyDo5QXHfBN8mfm7ECOxZQBvoKXcCY8axpqSesuCKMC3dJxvBuikOv+m62GwvbJ81H 36ptq41k+E8B0QwYh2SGRwM0//lwX4YrMWEHZGwF2V0n+yru6fzhmlIoOd2K16AgTFVO HqT1qFwp6ZtBRisDPfJZcHvvlx5poSOXH1FlA3ZQLylV+nkEvyPScksLDeE84Vx6wymi Wv/+JGDrOfWg2cYlqUrgQ4FMH/TE5aoLrX7jtsHoC6B9Z7A2MWr9+fNhR9yCVwZhC4Et gkKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735533121; x=1736137921; h=content-transfer-encoding:disposition-notification-to:subject :content-language:from:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=b7lRYMJGWAGJwzk4rf3/ohBMAzsjH1WmUejViH4uCjI=; b=XMtgkDsZs3zMVfnQHYc98STNil5nSMxlqHC/rvqrTZKymUiSCW6L4mgL1uc1dsA0BJ ZPlwgqou4KDfu+54txJZLBZM/oYfURY4CT1hSnIjlppHNMg4M5WGLeeNU5vv+N1N4Wxn WU9lknOEw1SKYvODSnixEW/5zeeF3VkDRdNhZeKwytVNsmXgj8GozET5nW0DqAdSGrzX QhD516bUzkBtRg+UxPodEF/An2Mfuuck9VVf8z++dIVtqImH+rFuw87ENgkLhLBydk+2 xektSdWLCKTLPuuNcSCvFZfrNnh52zLsN/QO6QWo5gBLjgJGTIS09oMCuqq137s8rJ2n 2+sA== X-Gm-Message-State: AOJu0YyAybN61YBHA103ylbC18mfnrXpY1QuY9zFKeqVAfKZeuFolx6K ofdgCvv9ha7erhFQAP+eDnVL6F0oHSoKBnXx83wdfbiT/4CqP8Xcadi9gcHo X-Gm-Gg: ASbGncuYixsghIegQg163wtK7FCTpQcALdFxnnUZtro2cri9vz4B96yEe89FXMxCYXt wpB6vUHLCaJ2V236Qw/asYkLri75qjjM2WDCohK2py5SZRO7QPXpeG4YBbDF0znjRWklPwqw7cv hK4uPN8hT8rZ1MBbuQiGNHU0ugYvwscKsW5rU+9uUyjolrC7bFaxyjHySR1RJ2lIoZgHaZoePlq JLNWsZXsl1ga/pfhB84U8HQTiDTU+PexO8jqQaL2pAbMbmLY28qu9XmP0/rMyZ5 X-Google-Smtp-Source: AGHT+IFk1Mjl5fbzDV8D4vGMCOfGZoO1tQO0cHzfMpfALYaea+24m2t2EOBEr2RiIbejutNNoKViHw== X-Received: by 2002:a17:902:ecca:b0:215:a18f:88a8 with SMTP id d9443c01a7336-219e6f38a1amr414407855ad.51.1735533120225; Sun, 29 Dec 2024 20:32:00 -0800 (PST) Received: from [10.0.12.15] ([158.140.184.2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc962d15sm170891265ad.11.2024.12.29.20.31.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Dec 2024 20:31:59 -0800 (PST) Message-ID: <1998e5fc-3c23-4421-9fe1-740d7715a917@gmail.com> Date: Mon, 30 Dec 2024 11:31:57 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: pgsql-general From: Surya Widyanto Content-Language: en-US Subject: Can't Compile PostgreSQL v17.2 on Windows 11 with Meson/Ninja Disposition-Notification-To: Surya Widyanto Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, I need to compile my own PostgreSQL v17.2 binary on Windows platform, so far I've manage to run the Meson successfully with output below: The Meson build system Version: 1.6.1 Source dir: K:\Compile\postgresql-17.2 Build dir: K:\Compile\postgresql-17.2\build Build type: native build Project name: postgresql Project version: 17.2 Activating VS 17.11.6 C compiler for the host machine: cl (msvc 19.41.34123 "Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34123 for x64") C linker for the host machine: link link 14.41.34123.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 Run-time dependency threads found: YES Library ws2_32 found: YES Library secur32 found: YES Program perl found: YES (D:\Users\surya\AppData\Local\activestate\cache\bin\perl.BAT) Program python found: YES (C:\Python39\python.EXE) Program win_flex found: YES 2.6.4 2.6.4 (K:\Shared Program Files\Win-Flex\win_flex.EXE) Program win_bison found: YES 2.7 2.7 (K:\Shared Program Files\Win-Flex\win_bison.EXE) Program gsed sed found: NO Program prove found: YES (D:\Users\surya\AppData\Local\activestate\cache\bin\prove.BAT) Program tar found: YES (C:\Windows\system32\tar.EXE) Program gzip found: NO Program lz4 found: NO Program openssl found: YES (C:\Program Files\OpenSSL-Win64\bin\openssl.EXE) Program zstd found: NO Program dtrace skipped: feature dtrace disabled Program config/missing found: YES (sh K:\Compile\postgresql-17.2\config/missing) Program cp found: NO Program xmllint found: NO Program xsltproc found: NO Program wget found: YES (K:\Shared Program Files\System-Internal\wget.EXE) Program C:\Python39\Scripts\meson found: YES (C:\Python39\Scripts\meson.exe) Check usable header "bsd_auth.h" : NO Check usable header "dns_sd.h" : NO Program fop found: NO Did not find pkg-config by name 'pkg-config' Found pkg-config: NO Found CMake: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.EXE (3.29.5) Run-time dependency krb5-gssapi found: NO (tried pkgconfig and cmake) Checking for size of "void *" : 8 Library gssapi64 found: NO Library krb5_64 found: NO Library comerr64 found: NO Library wldap32 found: YES Compiler for language cpp skipped: feature llvm disabled Run-time dependency icu-uc found: NO (tried pkgconfig and cmake) Run-time dependency icu found: NO (tried cmake) Run-time dependency libxml-2.0 found: NO (tried pkgconfig and cmake) Run-time dependency libxml2 found: NO (tried cmake) Run-time dependency libxslt found: NO (tried pkgconfig and cmake) Run-time dependency libxslt found: NO (tried cmake) Run-time dependency liblz4 found: NO (tried pkgconfig and cmake) Run-time dependency lz4 found: NO (tried cmake) Run-time dependency tcl found: NO (tried pkgconfig and cmake) Library tcl found: NO Has header "tcl.h" with dependency -ltcl: NO Run-time dependency pam found: NO (tried pkgconfig and cmake) Library pam found: NO Has header "perl.h" : YES WARNING: You should add the boolean check kwarg to the run_command call.          It currently defaults to false,          but it will default to true in meson 2.0.          See also: https://github.com/mesonbuild/meson/issues/9300 Message: CCFLAGS recommended by perl:  -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields Message: CCFLAGS for embedding perl: -ID:\Users\surya\AppData\Local\ActiveState\cache\bcb6f752\lib/CORE -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPLPERL_HAVE_UID_GID -DNO_THREAD_SAFE_LOCALE Message: LDFLAGS for embedding perl: "" Checking if "libperl" : links: NO Message: disabling optional dependency plperl: missing libperl Program C:\Python39\python.EXE found: YES (C:\Python39\python.EXE) WARNING: Using a debug build type with MSVC or an MSVC-compatible compiler when the Python interpreter is not also a debug build will almost certainly result in a failed build. Prefer using a release build type or a debug Python interpreter. Run-time dependency python found: YES 3.9 Check usable header "Python.h" with dependency python: YES Run-time dependency readline found: NO (tried pkgconfig and cmake) Library readline found: NO Run-time dependency libedit found: NO (tried pkgconfig and cmake) Library libedit found: NO Dependency libselinux skipped: feature selinux disabled Dependency libsystemd skipped: feature systemd disabled Run-time dependency openssl (modules: OpenSSL::Crypto, OpenSSL::SSL) found: YES 3.0.5 Has header "openssl/ssl.h" with dependency OpenSSL: YES Has header "openssl/err.h" with dependency OpenSSL: YES Checking for function "CRYPTO_new_ex_data" with dependency OpenSSL: YES Checking for function "SSL_new" with dependency OpenSSL: YES Checking for function "SSL_CTX_set_cert_cb" with dependency OpenSSL: YES Checking for function "OPENSSL_init_ssl" with dependency OpenSSL: YES Checking for function "BIO_meth_new" with dependency OpenSSL: YES Checking for function "ASN1_STRING_get0_data" with dependency OpenSSL: YES Checking for function "HMAC_CTX_new" with dependency OpenSSL: YES Checking for function "HMAC_CTX_free" with dependency OpenSSL: YES Checking for function "CRYPTO_lock" with dependency OpenSSL: NO Checking for function "X509_get_signature_info" with dependency OpenSSL: YES Checking for function "SSL_CTX_set_num_tickets" with dependency OpenSSL: YES Run-time dependency zlib found: NO (tried pkgconfig, cmake and system) meson.build:1489: WARNING: did not find zlib Message: Can't locate IPC/Run.pm in @INC (you may need to install the IPC::Run module) (@INC contains: d:/Users/surya/AppData/Local/activestate/cache/bcb6f752/site/lib d:/Users/surya/AppData/Local/activestate/cache/bcb6f752/lib) at config/check_modules.pl line 14. BEGIN failed--compilation aborted at config/check_modules.pl line 14. meson.build:1520: WARNING: Additional Perl modules are required to run TAP tests. Run-time dependency libzstd found: NO (tried pkgconfig and cmake) Run-time dependency zstd found: NO (tried cmake) Checking if "c99" compiles: YES Checking for size of "long" : 4 Checking for size of "long long" : 8 Checking for alignment of "short" : 2 Checking for alignment of "int" : 4 Checking for alignment of "long" : 4 Checking for alignment of "double" : 8 Checking for alignment of "long long int" : 8 Checking for size of "void *" : 8 (cached) Checking for size of "size_t" : 8 Checking if "__int128" : links: NO Checking for type "_Bool" : YES Checking for type "bool" : YES Checking for size of "bool" : 1 Compiler for C supports arguments -Werror=format: NO Compiler for C supports arguments -Werror=ignored-attributes: NO Checking if "format gnu_printf" compiles: NO Checking if "format __syslog__" compiles: NO Checking if "format printf" compiles: NO Compiler for C supports function attribute visibility:default: NO Checking for function "__builtin_bswap16" : NO Checking for function "__builtin_bswap32" : NO Checking for function "__builtin_bswap64" : NO Checking for function "__builtin_clz" : NO Checking for function "__builtin_ctz" : NO Checking for function "__builtin_constant_p" : NO Checking for function "__builtin_frame_address" : NO Checking for function "__builtin_popcount" : NO Checking for function "__builtin_unreachable" : NO Checking if "__builtin_types_compatible_p" compiles: NO Checking if "__builtin_mul_overflow" : links: NO Checking if "__get_cpuid" : links: NO Checking if "__cpuid" : links: YES Checking if "__get_cpuid_count" : links: NO Checking if "__cpuidex" : links: YES Compiler for C supports arguments -fno-strict-aliasing: NO Compiler for C supports arguments -fwrapv: NO Compiler for C supports arguments -fexcess-precision=standard: NO Compiler for C supports arguments -ftree-vectorize: NO Compiler for C supports arguments -funroll-loops: NO Compiler for C supports arguments -Wmissing-prototypes: NO Compiler for C supports arguments -Wpointer-arith: NO Compiler for C supports arguments -Werror=vla: NO Compiler for C supports arguments -Werror=unguarded-availability-new: NO Compiler for C supports arguments -Wendif-labels: NO Compiler for C supports arguments -Wmissing-format-attribute: NO Compiler for C supports arguments -Wimplicit-fallthrough=3: NO Compiler for C supports arguments -Wcast-function-type: NO Compiler for C supports arguments -Wshadow=compatible-local: NO Compiler for C supports arguments -Wformat-security: NO Compiler for C supports arguments -Wdeclaration-after-statement: NO Compiler for C supports arguments -Wunused-command-line-argument: NO Compiler for C supports arguments -Wcompound-token-split-by-macro: NO Compiler for C supports arguments -Wformat-truncation: NO Compiler for C supports arguments -Wstringop-truncation: NO Compiler for C supports arguments -Wcast-function-type-strict: NO Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -g: NO Compiler for C supports arguments -O2: YES Checking if "__sync_lock_test_and_set(char)" : links: NO Checking if "__sync_lock_test_and_set(int32)" : links: NO Checking if "__sync_val_compare_and_swap(int32)" : links: NO Checking if "__sync_val_compare_and_swap(int64)" : links: NO Checking if " __atomic_compare_exchange_n(int32)" : links: NO Checking if " __atomic_compare_exchange_n(int64)" : links: NO Checking if "XSAVE intrinsics without -mxsave" : links: YES Checking if "AVX-512 popcount without -mavx512vpopcntdq -mavx512bw" : links: YES Checking if "x86_64: popcntq instruction" compiles: NO Has header "atomic.h" : NO Has header "copyfile.h" : NO Has header "crtdefs.h" : YES Has header "execinfo.h" : NO Has header "getopt.h" : NO Has header "ifaddrs.h" : NO Has header "langinfo.h" : NO Has header "mbarrier.h" : NO Has header "stdbool.h" : YES Has header "strings.h" : NO Has header "sys/epoll.h" : NO Has header "sys/event.h" : NO Has header "sys/personality.h" : NO Has header "sys/prctl.h" : NO Has header "sys/procctl.h" : NO Has header "sys/signalfd.h" : NO Has header "sys/ucred.h" : NO Has header "termios.h" : NO Has header "ucred.h" : NO Header "fcntl.h" has symbol "F_FULLFSYNC" : NO Header "unistd.h" has symbol "fdatasync" : NO Header "fcntl.h" has symbol "posix_fadvise" : NO Header "string.h" has symbol "strlcat" : NO Header "string.h" has symbol "strlcpy" : NO Header "string.h" has symbol "strnlen" : YES Header "sys/uio.h" has symbol "preadv" : NO Header "sys/uio.h" has symbol "pwritev" : NO Checking for type "struct option" : NO Checking if "opterr" : links: NO Checking if "optreset" : links: NO Checking for type "socklen_t" : YES Checking whether type "struct sockaddr" has member "sa_len" : NO Checking whether type "struct tm" has member "tm_zone" : NO Checking if "global variable `timezone' exists" compiles: NO Checking for type "union semun" : NO Checking if "strerror_r" compiles: YES Checking for type "locale_t" : NO Checking for type "locale_t" : NO Checking if "typeof()" compiles: NO Checking if "typeof()" compiles: YES Checking if "wcstombs_l" compiles: NO Checking if "wcstombs_l in xlocale.h" compiles: NO Library m found: NO Library rt found: NO Library dl found: NO Library util found: NO Library getopt found: NO Library gnugetopt found: NO Library execinfo found: NO Checking for function "_configthreadlocale" : YES Checking for function "backtrace_symbols" : NO Checking for function "clock_gettime" : NO Checking for function "copyfile" : NO Checking for function "copy_file_range" : NO Checking for function "dlsym" : NO Checking for function "explicit_bzero" : NO Checking for function "getifaddrs" : NO Checking for function "getpeereid" : NO Checking for function "getpeerucred" : NO Checking for function "inet_aton" : NO Checking for function "inet_pton" : NO Checking for function "kqueue" : NO Checking for function "mbstowcs_l" : NO Checking for function "memset_s" : NO Checking for function "mkdtemp" : NO Checking for function "posix_fadvise" : NO Checking for function "posix_fallocate" : NO Checking for function "ppoll" : NO Checking for function "pthread_barrier_wait" : NO Checking for function "pthread_barrier_wait" with dependency threads: NO Checking for function "pthread_is_threaded_np" : NO Checking for function "pthread_is_threaded_np" with dependency threads: NO Checking for function "setproctitle" : NO Checking for function "setproctitle_fast" : NO Checking for function "shm_open" : NO Checking for function "shm_unlink" : NO Checking for function "shmget" : NO Checking for function "socket" : NO Checking for function "strchrnul" : NO Checking for function "strerror_r" : NO Checking for function "strerror_r" with dependency threads: NO Checking for function "strlcat" : NO Checking for function "strlcpy" : NO Checking for function "strnlen" : YES Checking for function "strsignal" : NO Checking for function "sync_file_range" : NO Checking for function "syncfs" : NO Checking for function "uselocale" : NO Checking for function "wcstombs_l" : NO Checking for function "syslog" : NO Program msgfmt found: NO Program src/tools/rcgen found: YES (c:\python39\python.exe K:\Compile\postgresql-17.2\src/tools/rcgen) Program rc found: YES (C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\\x64\rc.EXE) Configuring pg_config_ext.h using configuration Configuring pg_config.h using configuration Compiler for C supports arguments -fPIC: NO Compiler for C supports link arguments -Wl,--as-needed: NO Configuring pg_config_paths.h using configuration Windows resource compiler: Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384 Configuring ecpg_config.h using configuration Program strip found: NO Compiler for C supports link arguments -Wl,--export-dynamic: NO Program ar found: NO Program gawk mawk nawk awk found: NO Configuring Makefile.global using configuration Configuring version.sgml using configuration Message: checking for file conflicts between source and build directory Program git found: YES (C:\Program Files\Git\cmd\git.EXE) Program bzip2 found: NO Build targets in project: 407 NOTICE: Future-deprecated features used:  * 0.55.0: {'ExternalProgram.path'}  * 0.56.0: {'meson.build_root', 'meson.source_root'} postgresql 17.2   Data layout     data block size        : 8 kB     WAL block size         : 8 kB     segment size           : 1 GB   System     host system            : windows x86_64     build system           : windows x86_64   Compiler     linker                 : link     C compiler             : msvc 19.41.34123   Compiler Flags     CPP FLAGS              : /DWIN32 /DWINDOWS /D__WINDOWS__ /D__WIN32__ /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE     C FLAGS, functional    :     C FLAGS, warnings      : /wd4018 /wd4244 /wd4273 /wd4101 /wd4102 /wd4090 /wd4267     C FLAGS, modules       :     C FLAGS, user specified:     LD FLAGS               : /INCREMENTAL:NO /STACK:4194304 /NOEXP   Programs     bison                  : K:\Shared Program Files\Win-Flex\win_bison.EXE 2.7     dtrace                 : NO     flex                   : K:\Shared Program Files\Win-Flex\win_flex.EXE 2.6.4   External libraries     bonjour                : NO     bsd_auth               : NO     docs                   : NO     docs_pdf               : NO     gss                    : NO     icu                    : NO     ldap                   : YES     libxml                 : NO     libxslt                : NO     llvm                   : NO     lz4                    : NO     nls                    : NO     openssl                : YES 3.0.5     pam                    : NO     plperl                 : NO     plpython               : YES 3.9     pltcl                  : NO     readline               : NO     selinux                : NO     systemd                : NO     uuid                   : NO     zlib                   : NO     zstd                   : NO Found ninja-1.11.0 at "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.EXE" After that I running Ninja to compile the PostgreSQL v17.2 source code but it failed with error below: [1/2197] Compiling C object src/port/libpgport_crc.a.p/pg_crc32c_sse42.c.obj FAILED: src/port/libpgport_crc.a.p/pg_crc32c_sse42.c.obj "cl" "-Isrc/port\libpgport_crc.a.p" "-Isrc\include" "-I..\src\include" "-I..\src\include\port\win32" "-I..\src\include\port\win32_msvc" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/O2" "/Zi" "/DWIN32" "/DWINDOWS" "/D__WINDOWS__" "/D__WIN32__" "/D_CRT_SECURE_NO_DEPRECATE" "/D_CRT_NONSTDC_NO_DEPRECATE" "/wd4018" "/wd4244" "/wd4273" "/wd4101" "/wd4102" "/wd4090" "/wd4267" "-DFRONTEND" "/FS" "/FdK:\Compile\postgresql-17.2\build\src/port\libpgport_crc.pdb" /Fosrc/port/libpgport_crc.a.p/pg_crc32c_sse42.c.obj "/c" ../src/port/pg_crc32c_sse42.c CreateProcess failed: The system cannot find the file specified. [2/2197] Compiling C object src/port/libpgport_popcnt.a.p/pg_popcount_avx512.c.obj FAILED: src/port/libpgport_popcnt.a.p/pg_popcount_avx512.c.obj "cl" "-Isrc/port\libpgport_popcnt.a.p" "-Isrc\include" "-I..\src\include" "-I..\src\include\port\win32" "-I..\src\include\port\win32_msvc" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/O2" "/Zi" "/DWIN32" "/DWINDOWS" "/D__WINDOWS__" "/D__WIN32__" "/D_CRT_SECURE_NO_DEPRECATE" "/D_CRT_NONSTDC_NO_DEPRECATE" "/wd4018" "/wd4244" "/wd4273" "/wd4101" "/wd4102" "/wd4090" "/wd4267" "-DFRONTEND" "/FS" "/FdK:\Compile\postgresql-17.2\build\src/port\libpgport_popcnt.pdb" /Fosrc/port/libpgport_popcnt.a.p/pg_popcount_avx512.c.obj "/c" ../src/port/pg_popcount_avx512.c CreateProcess failed: The system cannot find the file specified. [3/2197] Compiling C object src/port/libpgport_xsave.a.p/pg_popcount_avx512_choose.c.obj FAILED: src/port/libpgport_xsave.a.p/pg_popcount_avx512_choose.c.obj "cl" "-Isrc/port\libpgport_xsave.a.p" "-Isrc\include" "-I..\src\include" "-I..\src\include\port\win32" "-I..\src\include\port\win32_msvc" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/O2" "/Zi" "/DWIN32" "/DWINDOWS" "/D__WINDOWS__" "/D__WIN32__" "/D_CRT_SECURE_NO_DEPRECATE" "/D_CRT_NONSTDC_NO_DEPRECATE" "/wd4018" "/wd4244" "/wd4273" "/wd4101" "/wd4102" "/wd4090" "/wd4267" "-DFRONTEND" "/FS" "/FdK:\Compile\postgresql-17.2\build\src/port\libpgport_xsave.pdb" /Fosrc/port/libpgport_xsave.a.p/pg_popcount_avx512_choose.c.obj "/c" ../src/port/pg_popcount_avx512_choose.c CreateProcess failed: The system cannot find the file specified. [4/2197] Compiling C object src/port/libpgport.a.p/bsearch_arg.c.obj FAILED: src/port/libpgport.a.p/bsearch_arg.c.obj "cl" "-Isrc/port\libpgport.a.p" "-Isrc\include" "-I..\src\include" "-I..\src\include\port\win32" "-I..\src\include\port\win32_msvc" "-IC:/Program Files/OpenSSL-Win64/include" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/O2" "/Zi" "/DWIN32" "/DWINDOWS" "/D__WINDOWS__" "/D__WIN32__" "/D_CRT_SECURE_NO_DEPRECATE" "/D_CRT_NONSTDC_NO_DEPRECATE" "/wd4018" "/wd4244" "/wd4273" "/wd4101" "/wd4102" "/wd4090" "/wd4267" "-DFRONTEND" "/FS" "/FdK:\Compile\postgresql-17.2\build\src/port\libpgport.pdb" /Fosrc/port/libpgport.a.p/bsearch_arg.c.obj "/c" ../src/port/bsearch_arg.c CreateProcess failed: The system cannot find the file specified. [5/2197] Compiling C object src/port/libpgport.a.p/chklocale.c.obj FAILED: src/port/libpgport.a.p/chklocale.c.obj "cl" "-Isrc/port\libpgport.a.p" "-Isrc\include" "-I..\src\include" "-I..\src\include\port\win32" "-I..\src\include\port\win32_msvc" "-IC:/Program Files/OpenSSL-Win64/include" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/O2" "/Zi" "/DWIN32" "/DWINDOWS" "/D__WINDOWS__" "/D__WIN32__" "/D_CRT_SECURE_NO_DEPRECATE" "/D_CRT_NONSTDC_NO_DEPRECATE" "/wd4018" "/wd4244" "/wd4273" "/wd4101" "/wd4102" "/wd4090" "/wd4267" "-DFRONTEND" "/FS" "/FdK:\Compile\postgresql-17.2\build\src/port\libpgport.pdb" /Fosrc/port/libpgport.a.p/chklocale.c.obj "/c" ../src/port/chklocale.c CreateProcess failed: The system cannot find the file specified. [6/2197] Compiling C object src/port/libpgport.a.p/inet_net_ntop.c.obj FAILED: src/port/libpgport.a.p/inet_net_ntop.c.obj "cl" "-Isrc/port\libpgport.a.p" "-Isrc\include" "-I..\src\include" "-I..\src\include\port\win32" "-I..\src\include\port\win32_msvc" "-IC:/Program Files/OpenSSL-Win64/include" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/O2" "/Zi" "/DWIN32" "/DWINDOWS" "/D__WINDOWS__" "/D__WIN32__" "/D_CRT_SECURE_NO_DEPRECATE" "/D_CRT_NONSTDC_NO_DEPRECATE" "/wd4018" "/wd4244" "/wd4273" "/wd4101" "/wd4102" "/wd4090" "/wd4267" "-DFRONTEND" "/FS" "/FdK:\Compile\postgresql-17.2\build\src/port\libpgport.pdb" /Fosrc/port/libpgport.a.p/inet_net_ntop.c.obj "/c" ../src/port/inet_net_ntop.c CreateProcess failed: The system cannot find the file specified. [7/2197] Compiling C object src/port/libpgport.a.p/noblock.c.obj FAILED: src/port/libpgport.a.p/noblock.c.obj "cl" "-Isrc/port\libpgport.a.p" "-Isrc\include" "-I..\src\include" "-I..\src\include\port\win32" "-I..\src\include\port\win32_msvc" "-IC:/Program Files/OpenSSL-Win64/include" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/O2" "/Zi" "/DWIN32" "/DWINDOWS" "/D__WINDOWS__" "/D__WIN32__" "/D_CRT_SECURE_NO_DEPRECATE" "/D_CRT_NONSTDC_NO_DEPRECATE" "/wd4018" "/wd4244" "/wd4273" "/wd4101" "/wd4102" "/wd4090" "/wd4267" "-DFRONTEND" "/FS" "/FdK:\Compile\postgreninja: fatal: ReadFile: The handle is invalid. sql-17.2\build\src/port\libpgport.pdb" /Fosrc/port/libpgport.a.p/noblock.c.obj "/c" ../src/port/noblock.c CreateProcess failed: The system cannot find the file specified. Is there anyone here can give me a clue where I did wrong? This is my first time I compile PostgreSQL v17.x from source code, I usually compile the PostgreSQL v16.x successfully with the MSVC method. I'm new with this Meson and Ninja method, please help me if anyone had successfully compile the PostgreSQL v17.x from source code in Windows platform. Regards, ayrus02