Subject: Re: bug#55022: error compiling emacs 28.1

From: Eli Zaretskii <[email-masked]>
Date: Wed, 20 Apr 2022 08:44:46 +0300

> From: robin hankin <[email-masked]>
> Date: Wed, 20 Apr 2022 07:29:53 +1200
> 
> OK, thanks for this.  But surely it is reasonable to expect ./configure  to detect such problems?

Not really: configure script usually tests for a library by calling
the pkg-config command, and even if it tries to build a test program
with the library, that test program definitely cannot call all of the
functions that Emacs does, and thus cannot find such problems with
100% probability.

> But, my
> main concern is to allow others who will encounter exactly the same problem [I use an unmodified ubuntu
> 20.04]  to see that they are not alone.

I'd suggest to report this to the Ubuntu package maintainers: it
sounds like their packaging has some problem.