Errors in explanation of the --with-libxml configure option.

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: vainstein(at)fastmail(dot)fm
Subject: Errors in explanation of the --with-libxml configure option.
Date: 2020-10-07 00:43:28
Message-ID: 160203140823.696.17271942520388105711@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/install-procedure.html
Description:

Online doc states

[...], or set the variables XML2_CFLAGS and XML2_LIBS. (If
pkg-config is installed, then to override its idea of where libxml2 is you
must either set XML2_CONFIG or set both XML2_CFLAGS and XML2_LIBS to
nonempty strings.)

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

[...] , you can either set the environment variable XML2_CONFIG to
point to the "xml2-config" program belonging to the installation, or use the
options "--with-includes" and "--with-libraries".

Now *that* advice is correct, and following it leads to success. Therefore
suggest sync that part of online doc to corresponding part of INSTALL
offline doc.

Thank you.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2020-10-07 07:39:23 Re: Errors in explanation of the --with-libxml configure option.
Previous Message Bruce Momjian 2020-10-06 23:38:48 Re: Request for further clarification on synchronous_commit