Thread: Necessary lib on Ubuntu for 17beta3

Necessary lib on Ubuntu for 17beta3

From
Holger Jakobs
Date:
Hi everyone,

When trying to ./configure PostgreSQL 17 beta3, it complained that the 
ICU libraries weren't installed, when actually they were.

On top of the ICU libraries themselves, another, seemingly unrelated, 
package had to be installed as well.

On Ubuntu, this has to be done: apt install pkg-config

I expect this to be the same on a Debian system, and maybe others.

A hint to this package in some README or BUILD file or in the error 
output of ./configure may be of great help.

Kind Regards,

Holger

-- 

Holger Jakobs, Bergisch Gladbach


Attachment

Re: Necessary lib on Ubuntu for 17beta3

From
Michael Banck
Date:
Hi,

On Fri, Aug 09, 2024 at 09:38:16AM +0200, Holger Jakobs wrote:
> When trying to ./configure PostgreSQL 17 beta3, it complained that the ICU
> libraries weren't installed, when actually they were.
> 
> On top of the ICU libraries themselves, another, seemingly unrelated,
> package had to be installed as well.
> 
> On Ubuntu, this has to be done: apt install pkg-config
> 
> I expect this to be the same on a Debian system, and maybe others.

This is discussed here:
https://www.postgresql.org/docs/17/install-requirements.html

> A hint to this package in some README or BUILD file or in the error output
> of ./configure may be of great help.

I think you are right, the error could be improved. This is because
currently pkg-config support is not actively checked for and the
autoconf macros just fail in this case I believe.


Michael



Re: Necessary lib on Ubuntu for 17beta3

From
Holger Jakobs
Date:
Am 09.08.24 um 09:45 schrieb Michael Banck:
> Hi,
>
> On Fri, Aug 09, 2024 at 09:38:16AM +0200, Holger Jakobs wrote:
>> When trying to ./configure PostgreSQL 17 beta3, it complained that the ICU
>> libraries weren't installed, when actually they were.
>>
>> On top of the ICU libraries themselves, another, seemingly unrelated,
>> package had to be installed as well.
>>
>> On Ubuntu, this has to be done: apt install pkg-config
>>
>> I expect this to be the same on a Debian system, and maybe others.
> This is discussed here:
> https://www.postgresql.org/docs/17/install-requirements.html
>
>> A hint to this package in some README or BUILD file or in the error output
>> of ./configure may be of great help.
> I think you are right, the error could be improved. This is because
> currently pkg-config support is not actively checked for and the
> autoconf macros just fail in this case I believe.
>
>
> Michael

Exactly. Would it be possible to include a check for pkg-config in 
./configure so that an appropriate error message pops up instead of 
complaining about actually installed libraries?

See you next weekend, Michael ;-)

-- 

Holger Jakobs, Bergisch Gladbach


Attachment