pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: vainstein@fastmail.fm
Subject: Errors in explanation of the --with-libxml configure option.
Date: Wed, 07 Oct 2020 00:43:28 +0000
Message-ID: <160203140823.696.17271942520388105711@wrigleys.postgresql.org> (raw)

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.


view thread (2+ messages)  latest in thread

Message-ID: <160203140823.696.17271942520388105711@wrigleys.postgresql.org>
Permalink:  ../160203140823.696.17271942520388105711@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/160203140823.696.17271942520388105711@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, vainstein@fastmail.fm
  Subject: Re: Errors in explanation of the --with-libxml configure option.
  In-Reply-To: <160203140823.696.17271942520388105711@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox