From: | Michael Banck <mbanck(at)gmx(dot)net> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Holger Jakobs <holger(at)jakobs(dot)com> |
Subject: | Improve error message for ICU libraries if pkg-config is absent |
Date: | 2024-08-09 08:16:28 |
Message-ID: | 66b5d05c.050a0220.7c8ce.a951@mx.google.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Holger Jacobs complained in pgsql-admin that in v17, if you have the ICU
development libraries installed but not pkg-config, you get a somewhat
unhelpful error message about ICU not being present:
|checking for pkg-config... no
|checking whether to build with ICU support... yes
|checking for icu-uc icu-i18n... no
|configure: error: ICU library not found
|If you have ICU already installed, see config.log for details on the
|failure. It is possible the compiler isn't looking in the proper directory.
|Use --without-icu to disable ICU support.
The attached patch improves things to that:
|checking for pkg-config... no
|checking whether to build with ICU support... yes
|configure: error: ICU library not found
|The ICU library could not be found because pkg-config is not available, see
|config.log for details on the failure. If ICU is installed, the variables
|ICU_CFLAGS and ICU_LIBS can be set explicitly in this case, or use
|--without-icu to disable ICU support.
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Banck | 2024-08-09 08:24:00 | Re: Improve error message for ICU libraries if pkg-config is absent |
Previous Message | Daniel Gustafsson | 2024-08-09 07:43:37 | Re: Variable renaming in dbcommands.c |