> On 7 Oct 2020, at 02:43, PG Doc comments form <noreply@postgresql.org> wrote:
> But neither XML2_CFLAGS nor XML2_LIBS appears in the actual configure
> scripts or makefiles, and so of course setting those env vars does no good.
> The INSTALL text file bundled in postgresql-12.1.tar.bz2 states instead
The documentation on the website is always for the latest minor release (which
is 12.4 in this case), and the XML2_CFLAGS and XML2_LIBS variables were
introduced in 12.3. If you download the latest minor release instead it should
just work.
The INSTALL file in the archive you downloaded is correctly describing how to
set up libxml for that particular version.
cheers ./daniel