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 1seOve-006hYd-Jn for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Aug 2024 01:05:26 +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 1seOvd-00DlaZ-66 for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Aug 2024 01:05:25 +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 1seOvc-00DlaR-SG for pgsql-hackers@lists.postgresql.org; Thu, 15 Aug 2024 01:05:24 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1seOva-004mgK-HC for pgsql-hackers@postgresql.org; Thu, 15 Aug 2024 01:05:23 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-70d2b921c48so328104b3a.1 for ; Wed, 14 Aug 2024 18:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1723683921; x=1724288721; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=Rg3+a/5wUkZUkL4vB/pJ3ug2SpQByUrFy8xv4Y5l0ww=; b=HujumLeW9ZDmhZzPpO0Yg6PCnqe6CXwT2mcao3nL+R0MopUgt/p9Ar/J3iFwoQ0EIJ REu+X1UZVQa1Rle+EImYTY/tDY2CGgDNksUQr5e3Kk3eMKzgeifVdOw93/D54Kd/xY/4 Jk6NSjnX+8tvafojKhPxRTlpohHKUC7Ycg9tlVXfOkk7SxdkSN1cL0M29Nxd5qDmFsbl rMHWsRhY5ENAegKwRnAqDyeJg4GAhfF1uO+gbxq6IbGvfQPv1NvdMbr2O8qMWLimdIoQ PDTf6tdq2Qh9hm8YUiHKpCyqTYjpa7qBL/U2KLIrfM5hw5pV9oyQRH8KEFOtHeOCgHNd 8xbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723683921; x=1724288721; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Rg3+a/5wUkZUkL4vB/pJ3ug2SpQByUrFy8xv4Y5l0ww=; b=weUWd00IQRsF56fGeDKTmfgxwnMHCFLOJ7s3WKW8a4Zp87pGXnDH7vA1OrqnU/nVD5 tnwk7r3NhsN2HM570YT6bsKBZAyOkd0atZI6cRAlVHQdFrI2HJxqS7i7/2mxGCsGneWi kPosMq1RjjO4nAvj6FUoo4FO7uylRM0eoATFGGfWt1QjzTWp91O3jpl6COuxC6ufCt4L /2FGx1QXcDV4hHhRRg91B1TASJnhppLlmB1FkFN+866JN2nW6bsko9NtpJGlJ+xvjIo+ V4N6BvQ8v8VXG1Jh3RdlWbYOC6VotghqrLeaStUkY/Jg5M0JlZXGcEf9Cf8g4UhqCE5D SEUg== X-Gm-Message-State: AOJu0YyK0uM6L9+Q6vW1grvVdEmG3P4V8QT/JAXyp4tsVWDi3L5VsHAK 7Mdp+k3AcNA1fxR9X9fT5KABC7xFO9TbZ6oF8UNbWHlXrGAfc+efwwllGGt4jQ== X-Google-Smtp-Source: AGHT+IGx5AtV7VcO5CYCh7z2WWVALYKhIo7rKrs+E1gbpFnhkctTpfq8HEcO5MA9TSd6mbRoMv6Cgw== X-Received: by 2002:a05:6a20:438e:b0:1c8:d968:ce6d with SMTP id adf61e73a8af0-1c8eae4dab8mr6370222637.3.1723683921239; Wed, 14 Aug 2024 18:05:21 -0700 (PDT) Received: from jeff-laptop.lan (c-76-102-242-158.hsd1.ca.comcast.net. [76.102.242.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201f038a3d7sm2199895ad.186.2024.08.14.18.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2024 18:05:20 -0700 (PDT) Message-ID: Subject: Re: Improve error message for ICU libraries if pkg-config is absent From: Jeff Davis To: Michael Banck , Heikki Linnakangas Cc: PostgreSQL Hackers , Holger Jakobs , Jeff Davis Date: Wed, 14 Aug 2024 18:05:19 -0700 In-Reply-To: <66b5e4e4.170a0220.3cbf42.a1a2@mx.google.com> References: <66b5d05c.050a0220.7c8ce.a951@mx.google.com> <66b5e4e4.170a0220.3cbf42.a1a2@mx.google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2024-08-09 at 11:44 +0200, Michael Banck wrote: > So maybe the better change is to just remove the explicit error > message > again and depend on PKG_CHECK_MODULES erroring out helpfully?=C2=A0 The > downside would be that the hint about specifying --without-icu to get > around this would disappear, but I think somebody building from > source > can figure that out more easily than the subtle issue that pkg-config > is > not installed. That looks good to me. Does anyone have a different opinion? If not, I'll go ahead and commit (but not backport) this change. Regards, Jeff Davis