Re: configure and DocBook XML

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Paul Förster <paul.foerster@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2020-11-26T16:21:56Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2020-Nov-26, Paul Förster wrote:
>> On 26. Nov, 2020, at 14:47, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>>> My guess is that it's related to trying to obtain stylesheets from
>>> remote Internet locations that are missing locally.

>> I don't know DocBook at all, so I can't say. But it takes about the
>> same time, whether I run configure on a machine that is connected to
>> the internet or one that isn't.

> It might be timing out, then.  (The docbook test takes well under a
> second for me, but that's probably because I have all stylesheets
> locally).

On machines where I don't have the stylesheets installed, it always
takes several seconds (2 or 3, I think, though I've not put a stopwatch
on it).  15 to 20 sec does seem like a lot, so it makes me wonder if
Paul's network environment is well-configured.

There's a nearby thread in which I was suggesting that we should just
not bother with this configure test [1].

			regards, tom lane

[1] https://www.postgresql.org/message-id/flat/E2EE6B76-2D96-408A-B961-CAE47D1A86F0%40yesql.se



Commits

  1. Remove configure-time probe for DocBook DTD.