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 1sJZz8-005hBA-E2 for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Jun 2024 14:38:58 +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 1sJZz5-00EPUm-MC for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Jun 2024 14:38:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sJZz5-00EPUQ-Co for pgsql-hackers@lists.postgresql.org; Tue, 18 Jun 2024 14:38:56 +0000 Received: from fout2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sJZz4-002Id0-14 for pgsql-hackers@lists.postgresql.org; Tue, 18 Jun 2024 14:38:55 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.nyi.internal (Postfix) with ESMTP id D705613801BA; Tue, 18 Jun 2024 10:38:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 18 Jun 2024 10:38:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1718721532; x=1718807932; bh=n+85iKJHcs mkhZSX4mYQCp6TlUKDWnfaGwZK8sXhhKw=; b=UqRXbJS7vkhY1WR7ZrNGgD/Pjs Xhnpz3OM16mnL4wHfMVgOZZgjtc51iLULoYezFfeShnM/ujMMA5vtvwNkrDTl8eq P1Id8H0vV5TmxCc92R7AIAQNhFO/PI2CmF1rgwukM56v9rL+bQtU4aQgNa8hyhGQ 3xBenjH1QUVgkj0N+JI1QosUGBrcxaO2ub1jqCW1MOmLRk4unOsi7qW3sQ5yOC+2 1lD9vzddpg7d8+cV76TndQoSR5TdQ6OxS5a8bBmCih7UqvXijmtVEAA9LonZINDA W0nDHoXYGVsS4DHLQ9H37Gx0ddSukJVWVXBoOttmh4zQJUHSTwDjzRW9RNAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1718721532; x=1718807932; bh=n+85iKJHcsmkhZSX4mYQCp6TlUKD WnfaGwZK8sXhhKw=; b=pun8d95pc7opx6CGx9F5aWmpCkAH3TNxm/SR0MDLigjG MPo3PtRls441Sb6t341bL5M3vnSndta/BeZ1XQM5Fp/6U5H4jHhpnQbHdwkRwOxf lJAHQnXz9n6fTJGNCcVYfLC4rYeRYgXD+zH53//NNQl5OubG9s+V+EqFICahwTpw FhkAfoxl654kVykFUt8Up9+Yr52GCNBn9DNlIdg8bHDuRuWSrsuOSmKKMIIrth54 K0ezHI06tveUiYD5oY8LnM2kTAOCuS+UcW5KAqUykI22u5qkbCapICp5X4zwmonY j2bUgEKlw8f+Em8eeidlQr3ILoEn3Co+a6bZQoZsCg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvkedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 10:38:52 -0400 (EDT) Date: Tue, 18 Jun 2024 07:38:50 -0700 From: Andres Freund To: Dave Page Cc: PostgreSQL Developers Subject: Re: Meson far from ready on Windows Message-ID: <20240618143850.nl67cwctsodmgfpi@awork3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2024-06-18 14:53:53 +0100, Dave Page wrote: > My next task was to extend that to support PostgreSQL 17 and beyond, which > is where I started to run into problems. I've attempted builds using Meson > with each of the dependencies defined in the old-style config.pl, both with > and without modifying the INCLUDE/LIBS envvars to include the directories > for the dependencies (as was found to work in the previous discussion re > zlib): > > Will not successfully configure at all: Do you have logs for those failures? > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dgssapi=enabled > build-gssapi > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dicu=enabled > build-icu > > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dlibxml=enabled > build-libxml > > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dlz4=enabled > build-lz4 > > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dnls=enabled > build-nls > > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Duuid=ossp > build-uuid > > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dzstd=enabled > build-zstd > > Configured with modified LIBS/INCLUDE: > > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dlibxslt=enabled > build-libxslt > > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dssl=openssl > build-openssl > > meson setup --auto-features=disabled > -Dextra_include_dirs=C:\build64\include > -Dextra_lib_dirs=C:\build64\lib;C:\build64\lib64 --wipe -Dzlib=enabled > build-zlib > > I think it's important to note that Meson largely seems to want to use > pkgconfig and cmake to find dependencies. pkgconfig isn't really a thing on > Windows (it is available, but isn't commonly used), and even cmake would > typically rely on finding things in either known installation directories > or through lib/include vars. I am not really following what you mean with the cmake bit here? You can configure additional places to search for cmake files with meson setup --cmake-prefix-path=... > There really aren't standard directories like > /usr/lib or /usr/include as we find on unixes, or pkgconfig files for > everything. Yes, and? Greetings, Andres Freund