Re: configure and DocBook XML

2020-11-29 Thread Tom Lane
Michael Paquier writes: > On Fri, Nov 27, 2020 at 10:29:24AM -0500, Tom Lane wrote: >> To me, it makes sense to have an option to do that, but I do find it >> surprising that it's the default. > But there is no need for an option, right? It is already possible to > override the location where xm

Re: configure and DocBook XML

2020-11-28 Thread Michael Paquier
On Fri, Nov 27, 2020 at 10:29:24AM -0500, Tom Lane wrote: > To me, it makes sense to have an option to do that, but I do find it > surprising that it's the default. But there is no need for an option, right? It is already possible to override the location where xmllint looks for the catalogs by s

Re: configure and DocBook XML

2020-11-27 Thread Paul Förster
Hi Tom, > On 27. Nov, 2020, at 18:54, Tom Lane wrote: > > See the other thread I pointed to. ok, thanks. Cheers, Paul

Re: configure and DocBook XML

2020-11-27 Thread Tom Lane
=?utf-8?Q?Paul_F=C3=B6rster?= writes: > ok, last question: is there an option for configure to not check for DocBook? > It's not installed and PostgreSQL doesn't need it to compile and run just > fine. See the other thread I pointed to. regards, tom lane

Re: configure and DocBook XML

2020-11-27 Thread Paul Förster
Hi Tom, > On 27. Nov, 2020, at 16:29, Tom Lane wrote: > > To me, it makes sense to have an option to do that, but I do find it > surprising that it's the default. ok, last question: is there an option for configure to not check for DocBook? It's not installed and PostgreSQL doesn't need it to

Re: configure and DocBook XML

2020-11-27 Thread Peter Eisentraut
On 2020-11-26 17:48, Tom Lane wrote: =?utf-8?Q?Paul_F=C3=B6rster?= writes: On 26. Nov, 2020, at 17:21, Tom Lane wrote: There's a nearby thread in which I was suggesting that we should just not bother with this configure test [1]. [1] https://www.postgresql.org/message-id/flat/E2EE6B76-2D96-4

Re: configure and DocBook XML

2020-11-27 Thread Tom Lane
=?utf-8?Q?Paul_F=C3=B6rster?= writes: > So why would xmllint try to download DocBook XML stylesheets if DocBook is > not installed? I'm not a developer but such a thing doesn't make sense to me. You'd have to ask the authors of those programs. To me, it makes sense to have an option to do that,

Re: configure and DocBook XML

2020-11-27 Thread Paul Förster
Hi Tom, > On 26. Nov, 2020, at 17:48, Tom Lane wrote: > > If you don't have the docbook stylesheets, but you do have xmllint, > configure's probe will cause xmllint to try to download those > stylesheets off the net. For me, that always succeeds, but it > takes two or three seconds. I find it

Re: configure and DocBook XML

2020-11-26 Thread Tom Lane
=?utf-8?Q?Paul_F=C3=B6rster?= writes: > On 26. Nov, 2020, at 17:21, Tom Lane wrote: >> There's a nearby thread in which I was suggesting that we should just >> not bother with this configure test [1]. >> [1] >> https://www.postgresql.org/message-id/flat/E2EE6B76-2D96-408A-B961-CAE47D1A86F0%40yes

Re: configure and DocBook XML

2020-11-26 Thread Paul Förster
Hi Tom, > On 26. Nov, 2020, at 17:21, Tom Lane wrote: > > 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 environm

Re: configure and DocBook XML

2020-11-26 Thread Tom Lane
Alvaro Herrera writes: > On 2020-Nov-26, Paul Förster wrote: >> On 26. Nov, 2020, at 14:47, Alvaro Herrera 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

Re: configure and DocBook XML

2020-11-26 Thread Paul Förster
Hi Alvaro, > On 26. Nov, 2020, at 15:19, Alvaro Herrera wrote: > > One way to know for sure would be to run it under strace, and see where > it takes a large number of seconds. Maybe something like > strace -f -etrace=%network -T -tt -o/tmp/configure.trace ./configure ok, I'll try this. Thank

Re: configure and DocBook XML

2020-11-26 Thread Alvaro Herrera
On 2020-Nov-26, Paul Förster wrote: > Hi Alvaro, > > > On 26. Nov, 2020, at 14:47, Alvaro Herrera 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 ta

Re: configure and DocBook XML

2020-11-26 Thread Paul Förster
Hi Alvaro, > On 26. Nov, 2020, at 14:47, Alvaro Herrera 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

Re: configure and DocBook XML

2020-11-26 Thread Alvaro Herrera
On 2020-Nov-26, Paul Förster wrote: > Hi, > > I always compile PostgreSQL from source and never install a pre-compiled > package. When I run configure, the last check, which is for DocBook XML > always takes very long compared to all others. It's about 15 to 20 secs or > so. I noticed that wit